X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EmulatorPkg%2FMiscSubClassPlatformDxe%2FMiscChassisManufacturerFunction.c;h=0df651e6938421def646a9c319c4747f3e15634d;hp=8e57fd50225f58b7e587b737ebe3be663d8352c2;hb=2bfd90f959c94165c1e3b597992932e6dcb59669;hpb=a762a8778323bb943bfb96302f422f97631a4381 diff --git a/EmulatorPkg/MiscSubClassPlatformDxe/MiscChassisManufacturerFunction.c b/EmulatorPkg/MiscSubClassPlatformDxe/MiscChassisManufacturerFunction.c index 8e57fd5022..0df651e693 100644 --- a/EmulatorPkg/MiscSubClassPlatformDxe/MiscChassisManufacturerFunction.c +++ b/EmulatorPkg/MiscSubClassPlatformDxe/MiscChassisManufacturerFunction.c @@ -2,7 +2,7 @@ Chassis manufacturer information boot time changes. SMBIOS type 3. - Copyright (c) 2009, Intel Corporation. All rights reserved.
+ Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -124,13 +124,7 @@ MISC_SMBIOS_TABLE_FUNCTION(MiscChassisManufacturer) // // Now we have got the full smbios record, call smbios protocol to add this record. // - SmbiosHandle = 0; - Status = Smbios-> Add( - Smbios, - NULL, - &SmbiosHandle, - (EFI_SMBIOS_TABLE_HEADER *) SmbiosRecord - ); + Status = AddSmbiosRecord (Smbios, &SmbiosHandle, (EFI_SMBIOS_TABLE_HEADER *) SmbiosRecord); FreePool(SmbiosRecord); return Status;