diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-07-06 15:19:20 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-07-06 15:19:20 +0000 |
commit | a73480f6f2e211947ac19ef049adcba6f50bb655 (patch) | |
tree | 1142c6c03237e760272c32e01e4e55f9b2093935 /MdePkg/Library/DxeSmbusLib | |
parent | 04eced5b5281adee80dc108a963371e8424d30fc (diff) | |
download | edk2-platforms-a73480f6f2e211947ac19ef049adcba6f50bb655.tar.xz |
Enable Intel IPF compilation for MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3130 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/DxeSmbusLib')
-rw-r--r-- | MdePkg/Library/DxeSmbusLib/InternalSmbusLib.h | 20 |
1 files changed, 20 insertions, 0 deletions
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
|