X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EmulatorPkg%2FMiscSubClassPlatformDxe%2FMiscSubClassDriver.h;h=c7749f3f178a18231111d2ddfae5e140a9388ed7;hp=7e5be7ea809d3f040f6eccb1f83d345f7f4a5dd5;hb=2bfd90f959c94165c1e3b597992932e6dcb59669;hpb=a762a8778323bb943bfb96302f422f97631a4381 diff --git a/EmulatorPkg/MiscSubClassPlatformDxe/MiscSubClassDriver.h b/EmulatorPkg/MiscSubClassPlatformDxe/MiscSubClassDriver.h index 7e5be7ea80..c7749f3f17 100644 --- a/EmulatorPkg/MiscSubClassPlatformDxe/MiscSubClassDriver.h +++ b/EmulatorPkg/MiscSubClassPlatformDxe/MiscSubClassDriver.h @@ -1,6 +1,6 @@ /*++ -Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.
+Copyright (c) 2006 - 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 @@ -106,17 +106,27 @@ extern UINTN mMiscSubclassDataTableEntries; extern UINT8 MiscSubclassStrings[]; extern EFI_HII_HANDLE mHiiHandle; -// -// Prototypes -// +/** + Add an SMBIOS record. + + @param Smbios The EFI_SMBIOS_PROTOCOL instance. + @param SmbiosHandle A unique handle will be assigned to the SMBIOS record. + @param Record The data for the fixed portion of the SMBIOS record. The format of the record is + determined by EFI_SMBIOS_TABLE_HEADER.Type. The size of the formatted area is defined + by EFI_SMBIOS_TABLE_HEADER.Length and either followed by a double-null (0x0000) or + a set of null terminated strings and a null. + + @retval EFI_SUCCESS Record was added. + @retval EFI_OUT_OF_RESOURCES Record was not added due to lack of system resources. + +**/ EFI_STATUS -EFIAPI -MiscSubclassDriverEntryPoint ( - IN EFI_HANDLE ImageHandle, - IN EFI_SYSTEM_TABLE *SystemTable +AddSmbiosRecord ( + IN EFI_SMBIOS_PROTOCOL *Smbios, + OUT EFI_SMBIOS_HANDLE *SmbiosHandle, + IN EFI_SMBIOS_TABLE_HEADER *Record ); - #endif /* _MISC_SUBCLASS_DRIVER_H */ /* eof - MiscSubclassDriver.h */