From 79e4f2a56ac7cee477c2f84ff65f766814cc1836 Mon Sep 17 00:00:00 2001 From: Ruiyu Ni Date: Wed, 29 Aug 2018 11:39:06 +0800 Subject: 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 Reviewed-by: Hao A Wu Cc: Liming Gao --- EmulatorPkg/CpuRuntimeDxe/Cpu.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'EmulatorPkg/CpuRuntimeDxe') diff --git a/EmulatorPkg/CpuRuntimeDxe/Cpu.c b/EmulatorPkg/CpuRuntimeDxe/Cpu.c index 47fb7f0..83e8765 100644 --- a/EmulatorPkg/CpuRuntimeDxe/Cpu.c +++ b/EmulatorPkg/CpuRuntimeDxe/Cpu.c @@ -63,7 +63,7 @@ SMBIOS_TABLE_TYPE4 mCpuSmbiosType4 = { 0, // ProcessorXModel: 4; 0, // ProcessorXFamily: 8; 0, // ProcessorReserved2: 4; - }, + }, { // PROCESSOR_FEATURE_FLAGS 0, // ProcessorFpu :1; 0, // ProcessorVme :1; @@ -100,13 +100,13 @@ SMBIOS_TABLE_TYPE4 mCpuSmbiosType4 = { }, 3, // ProcessorVersion String; { // Voltage; - 1, // ProcessorVoltageCapability5V :1; - 1, // ProcessorVoltageCapability3_3V :1; - 1, // ProcessorVoltageCapability2_9V :1; + 1, // ProcessorVoltageCapability5V :1; + 1, // ProcessorVoltageCapability3_3V :1; + 1, // ProcessorVoltageCapability2_9V :1; 0, // ProcessorVoltageCapabilityReserved :1; ///< Bit 3, must be zero. 0, // ProcessorVoltageReserved :3; ///< Bits 4-6, must be zero. 0 // ProcessorVoltageIndicateLegacy :1; - }, + }, 0, // ExternalClock; 0, // MaxSpeed; 0, // CurrentSpeed; @@ -151,26 +151,26 @@ CHAR8 *mCpuSmbiosType4Strings[] = { "Not Found", NULL }; - + ... LogSmbiosData ( - (EFI_SMBIOS_TABLE_HEADER*)&gSmbiosType12, + (EFI_SMBIOS_TABLE_HEADER*)&gSmbiosType12, gSmbiosType12Strings ); @param Template Fixed SMBIOS structure, required. - @param StringArray Array of strings to convert to an SMBIOS string pack. + @param StringArray Array of strings to convert to an SMBIOS string pack. NULL is OK. **/ EFI_STATUS LogSmbiosData ( IN EFI_SMBIOS_TABLE_HEADER *Template, - IN CHAR8 **StringPack + IN CHAR8 **StringPack ) { EFI_STATUS Status; - EFI_SMBIOS_PROTOCOL *Smbios; + EFI_SMBIOS_PROTOCOL *Smbios; EFI_SMBIOS_HANDLE SmbiosHandle; EFI_SMBIOS_TABLE_HEADER *Record; UINTN Index; @@ -219,7 +219,7 @@ LogSmbiosData ( Str += StringSize; } *Str = 0; - + SmbiosHandle = SMBIOS_HANDLE_PI_RESERVED; Status = Smbios->Add ( Smbios, @@ -228,7 +228,7 @@ LogSmbiosData ( Record ); ASSERT_EFI_ERROR (Status); - + FreePool (Record); return Status; } -- cgit v1.1