remove un-necessary #pragma pack(1) and clean up doxgen format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6437 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
///
|
||||
/// Smbios Table Entry Point Structure
|
||||
///
|
||||
#pragma pack(1)
|
||||
typedef struct {
|
||||
UINT8 AnchorString[4];
|
||||
UINT8 EntryPointStructureChecksum;
|
||||
@@ -46,6 +45,7 @@ typedef struct {
|
||||
|
||||
typedef UINT8 SMBIOS_TABLE_STRING;
|
||||
|
||||
#pragma pack(1)
|
||||
///
|
||||
/// BIOS Information (Type 0)
|
||||
///
|
||||
@@ -63,6 +63,7 @@ typedef struct {
|
||||
UINT8 EmbeddedControllerFirmwareMajorRelease;
|
||||
UINT8 EmbeddedControllerFirmwareMinorRelease;
|
||||
} SMBIOS_TABLE_TYPE0;
|
||||
#pragma pack()
|
||||
|
||||
///
|
||||
/// System Information (Type 1)
|
||||
@@ -79,6 +80,7 @@ typedef struct {
|
||||
SMBIOS_TABLE_STRING Family;
|
||||
} SMBIOS_TABLE_TYPE1;
|
||||
|
||||
#pragma pack(1)
|
||||
///
|
||||
/// Base Board (or Module) Information (Type 2)
|
||||
///
|
||||
@@ -96,6 +98,7 @@ typedef struct {
|
||||
UINT8 NumberOfContainedObjectHandles;
|
||||
UINT16 ContainedObjectHandles[1];
|
||||
} SMBIOS_TABLE_TYPE2;
|
||||
#pragma pack()
|
||||
|
||||
typedef struct {
|
||||
UINT8 ContainedElementType;
|
||||
@@ -161,6 +164,7 @@ typedef struct {
|
||||
UINT16 ProcessorFamily2;
|
||||
} SMBIOS_TABLE_TYPE4;
|
||||
|
||||
#pragma pack(1)
|
||||
///
|
||||
/// Memory Controller Information (Type 5, Obsolete)
|
||||
///
|
||||
@@ -208,6 +212,7 @@ typedef struct {
|
||||
UINT8 SystemCacheType;
|
||||
UINT8 Associativity;
|
||||
} SMBIOS_TABLE_TYPE7;
|
||||
#pragma pack()
|
||||
|
||||
///
|
||||
/// Port Connector Information (Type 8)
|
||||
@@ -221,6 +226,7 @@ typedef struct {
|
||||
UINT8 PortType;
|
||||
} SMBIOS_TABLE_TYPE8;
|
||||
|
||||
#pragma pack(1)
|
||||
///
|
||||
/// System Slots (Type 9)
|
||||
///
|
||||
@@ -241,6 +247,7 @@ typedef struct {
|
||||
UINT8 BusNum;
|
||||
UINT8 DevFuncNum;
|
||||
} SMBIOS_TABLE_TYPE9;
|
||||
#pragma pack()
|
||||
|
||||
typedef struct {
|
||||
UINT8 DeviceType;
|
||||
@@ -282,6 +289,7 @@ typedef struct {
|
||||
SMBIOS_TABLE_STRING CurrentLanguages;
|
||||
} SMBIOS_TABLE_TYPE13;
|
||||
|
||||
#pragma pack(1)
|
||||
typedef struct {
|
||||
UINT8 ItemType;
|
||||
UINT16 ItemHandle;
|
||||
@@ -372,6 +380,7 @@ typedef struct {
|
||||
UINT32 DeviceErrorAddress;
|
||||
UINT32 ErrorResolution;
|
||||
} SMBIOS_TABLE_TYPE18;
|
||||
#pragma pack()
|
||||
|
||||
///
|
||||
/// Memory Array Mapped Address (Type 19)
|
||||
@@ -408,6 +417,7 @@ typedef struct {
|
||||
UINT8 NumberOfButtons;
|
||||
} SMBIOS_TABLE_TYPE21;
|
||||
|
||||
#pragma pack(1)
|
||||
///
|
||||
/// Portable Battery (Type 22)
|
||||
///
|
||||
@@ -441,6 +451,7 @@ typedef struct {
|
||||
UINT16 TimerInterval;
|
||||
UINT16 Timeout;
|
||||
} SMBIOS_TABLE_TYPE23;
|
||||
#pragma pack()
|
||||
|
||||
///
|
||||
/// Hardware Security (Type 24)
|
||||
@@ -554,6 +565,7 @@ typedef struct {
|
||||
UINT8 BootStatus[1];
|
||||
} SMBIOS_TABLE_TYPE32;
|
||||
|
||||
#pragma pack(1)
|
||||
///
|
||||
/// 64-bit Memory Error Information (Type 33)
|
||||
///
|
||||
@@ -589,6 +601,7 @@ typedef struct {
|
||||
UINT16 ComponentHandle;
|
||||
UINT16 ThresholdHandle;
|
||||
} SMBIOS_TABLE_TYPE35;
|
||||
#pragma pack()
|
||||
|
||||
///
|
||||
/// Management Device Threshold Data (Type 36)
|
||||
@@ -603,6 +616,7 @@ typedef struct {
|
||||
UINT16 UpperThresholdNonRecoverable;
|
||||
} SMBIOS_TABLE_TYPE36;
|
||||
|
||||
#pragma pack(1)
|
||||
typedef struct {
|
||||
UINT8 DeviceLoad;
|
||||
UINT16 DeviceHandle;
|
||||
@@ -618,6 +632,7 @@ typedef struct {
|
||||
UINT8 MemoryDeviceCount;
|
||||
MEMORY_DEVICE MemoryDevice[1];
|
||||
} SMBIOS_TABLE_TYPE37;
|
||||
#pragma pack()
|
||||
|
||||
///
|
||||
/// IPMI Device Information (Type 38)
|
||||
@@ -653,6 +668,7 @@ typedef struct {
|
||||
UINT16 InputCurrentProbeHandle;
|
||||
} SMBIOS_TABLE_TYPE39;
|
||||
|
||||
#pragma pack(1)
|
||||
typedef struct {
|
||||
UINT8 EntryLength;
|
||||
UINT16 ReferencedHandle;
|
||||
@@ -682,6 +698,7 @@ typedef struct {
|
||||
UINT8 BusNum;
|
||||
UINT8 DevFuncNum;
|
||||
} SMBIOS_TABLE_TYPE41;
|
||||
#pragma pack()
|
||||
|
||||
///
|
||||
/// Inactive (Type 126)
|
||||
@@ -749,6 +766,4 @@ typedef union {
|
||||
UINT8 *Raw;
|
||||
} SMBIOS_STRUCTURE_POINTER;
|
||||
|
||||
#pragma pack()
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user