/* SPDX-License-Identifier: GPL-2.0-or-later * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 2020 Hewlett Packard Enterprise Development LP. All rights reserved.
*/
#ifndef _ASM_UV_GEO_H #define _ASM_UV_GEO_H
/* Type declarations */
/* Size of a geoid_s structure (must be before decl. of geoid_u) */ #define GEOID_SIZE 8
/* Fields common to all substructures */ struct geo_common_s { unsignedchar type; /* What type of h/w is named by this geoid_s */ unsignedchar blade; unsignedchar slot; /* slot is IRU */ unsignedchar upos; unsignedchar rack;
};
/* Additional fields for particular types of hardware */ struct geo_node_s { struct geo_common_s common; /* No additional fields needed */
};
struct geo_pcicard_s { struct geo_iocntl_s common; char bus; /* Bus/widget number */ char slot; /* PCI slot number */
};
/* Subcomponents of a node */ struct geo_cpu_s { struct geo_node_s node; unsignedchar socket:4, /* Which CPU on the node */
thread:4; unsignedchar core;
};
struct geo_mem_s { struct geo_node_s node; char membus; /* The memory bus on the node */ char memslot; /* The memory slot on the bus */
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.