From a73480f6f2e211947ac19ef049adcba6f50bb655 Mon Sep 17 00:00:00 2001 From: qwang12 Date: Fri, 6 Jul 2007 15:19:20 +0000 Subject: Enable Intel IPF compilation for MdePkg. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3130 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/DxeSmbusLib/InternalSmbusLib.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'MdePkg/Library/DxeSmbusLib') diff --git a/MdePkg/Library/DxeSmbusLib/InternalSmbusLib.h b/MdePkg/Library/DxeSmbusLib/InternalSmbusLib.h index 2435baeb9f..8c96f64159 100644 --- a/MdePkg/Library/DxeSmbusLib/InternalSmbusLib.h +++ b/MdePkg/Library/DxeSmbusLib/InternalSmbusLib.h @@ -73,4 +73,24 @@ InternalSmBusExec ( OUT RETURN_STATUS *Status OPTIONAL ); +/** + The constructor function caches the pointer to Smbus protocol. + + The constructor function locates Smbus protocol from protocol database. + It will ASSERT() if that operation fails and it will always return EFI_SUCCESS. + + @param ImageHandle The firmware allocated handle for the EFI image. + @param SystemTable A pointer to the EFI System Table. + + @retval EFI_SUCCESS The constructor always returns EFI_SUCCESS. + +**/ +EFI_STATUS +EFIAPI +SmbusLibConstructor ( + IN EFI_HANDLE ImageHandle, + IN EFI_SYSTEM_TABLE *SystemTable + ) +; + #endif -- cgit v1.2.3