summaryrefslogtreecommitdiffstats
path: root/EmulatorPkg/PlatformSmbiosDxe/SmbiosTable.c
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2018-08-29 11:39:06 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2018-08-30 09:26:54 +0800
commit79e4f2a56ac7cee477c2f84ff65f766814cc1836 (patch)
tree1640996f68d818bc01720d718c21a0d9918997a5 /EmulatorPkg/PlatformSmbiosDxe/SmbiosTable.c
parenta07533fab100db41c04d9044503438ac00039d82 (diff)
downloadedk2-79e4f2a56ac7cee477c2f84ff65f766814cc1836.tar.gz
edk2-79e4f2a56ac7cee477c2f84ff65f766814cc1836.tar.bz2
edk2-79e4f2a56ac7cee477c2f84ff65f766814cc1836.zip
EmulatorPkg: formalize line endings
The patch is the result of running "BaseTools/Scripts/FormatDosFiles.py EmulatorPkg/" No functionality impact. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Hao A Wu <hao.a.wu@intel.com> Cc: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'EmulatorPkg/PlatformSmbiosDxe/SmbiosTable.c')
-rw-r--r--EmulatorPkg/PlatformSmbiosDxe/SmbiosTable.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/EmulatorPkg/PlatformSmbiosDxe/SmbiosTable.c b/EmulatorPkg/PlatformSmbiosDxe/SmbiosTable.c
index c79e57b304..27679518ef 100644
--- a/EmulatorPkg/PlatformSmbiosDxe/SmbiosTable.c
+++ b/EmulatorPkg/PlatformSmbiosDxe/SmbiosTable.c
@@ -8,7 +8,7 @@
Processor Information (Type 4) - CPU Driver
Cache Information (Type 7) - For cache that is external to processor
System Slots (Type 9) - If system has slots
- Physical Memory Array (Type 16)
+ Physical Memory Array (Type 16)
Memory Device (Type 17) - For each socketed system-memory Device
Memory Array Mapped Address (Type 19) - One per contiguous block per Physical Memroy Array
System Boot Information (Type 32)
@@ -69,9 +69,9 @@ SMBIOS_TABLE_TYPE0 gSmbiosType0Template = {
0, // PrinterIsSupported :1;
0, // CgaMonoIsSupported :1;
0, // NecPc98 :1;
- 0 // ReservedForVendor :32; ///< Bits 32-63. Bits 32-47 reserved for BIOS vendor
- ///< and bits 48-63 reserved for System Vendor.
- },
+ 0 // ReservedForVendor :32; ///< Bits 32-63. Bits 32-47 reserved for BIOS vendor
+ ///< and bits 48-63 reserved for System Vendor.
+ },
{ // BIOSCharacteristicsExtensionBytes[]
0x81, // AcpiIsSupported :1;
// UsbLegacyIsSupported :1;
@@ -108,7 +108,7 @@ SMBIOS_TABLE_TYPE1 gSmbiosType1Template = {
3, // Version String
4, // SerialNumber String
{ 0x25EF0280, 0xEC82, 0x42B0, { 0x8F, 0xB6, 0x10, 0xAD, 0xCC, 0xC6, 0x7C, 0x02 } },
- SystemWakeupTypePowerSwitch,
+ SystemWakeupTypePowerSwitch,
5, // SKUNumber String
6, // Family String
};
@@ -119,7 +119,7 @@ CHAR8 *gSmbiosType1Strings[] = {
"System Serial#",
"System SKU#",
"edk2",
- NULL
+ NULL
};
SMBIOS_TABLE_TYPE2 gSmbiosType2Template = {
@@ -139,7 +139,7 @@ SMBIOS_TABLE_TYPE2 gSmbiosType2Template = {
},
6, // LocationInChassis String
0, // ChassisHandle;
- BaseBoardTypeMotherBoard, // BoardType;
+ BaseBoardTypeMotherBoard, // BoardType;
0, // NumberOfContainedObjectHandles;
{ 0 } // ContainedObjectHandles[1];
};
@@ -150,7 +150,7 @@ CHAR8 *gSmbiosType2Strings[] = {
"Base Board Serial#",
"Base Board Asset Tag#",
"Part Component",
- NULL
+ NULL
};
SMBIOS_TABLE_TYPE3 gSmbiosType3Template = {
@@ -160,10 +160,10 @@ SMBIOS_TABLE_TYPE3 gSmbiosType3Template = {
2, // Version String
3, // SerialNumber String
4, // AssetTag String
- ChassisStateSafe, // BootupState;
- ChassisStateSafe, // PowerSupplyState;
- ChassisStateSafe, // ThermalState;
- ChassisSecurityStatusNone,// SecurityStatus;
+ ChassisStateSafe, // BootupState;
+ ChassisStateSafe, // PowerSupplyState;
+ ChassisStateSafe, // ThermalState;
+ ChassisSecurityStatusNone,// SecurityStatus;
{ 0, 0, 0, 0 }, // OemDefined[4];
0, // Height;
0, // NumberofPowerCords;
@@ -176,7 +176,7 @@ CHAR8 *gSmbiosType3Strings[] = {
"EmulatorPkg",
"Chassis Board Serial#",
"Chassis Board Asset Tag#",
- NULL
+ NULL
};
SMBIOS_TABLE_TYPE8 gSmbiosType8Template1 = {