diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-11 15:45:34 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-11 15:45:34 +0000 |
commit | 008698ab3df1bd965fb2af26ee20b15dbb09ea99 (patch) | |
tree | f19745662c637bdb614531d63fc3a1038f1da7db /Nt32Pkg | |
parent | a6d5e5f7f31202966f48cd6f32a98f02c9eabbc3 (diff) | |
download | edk2-008698ab3df1bd965fb2af26ee20b15dbb09ea99.zip edk2-008698ab3df1bd965fb2af26ee20b15dbb09ea99.tar.gz edk2-008698ab3df1bd965fb2af26ee20b15dbb09ea99.tar.bz2 |
1, Add <Library/DevicePathLib.h> for all source that use device path utility macros
2, Add DevicePathLib library class to module's INF that use device path utility macros
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6459 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Nt32Pkg')
-rw-r--r-- | Nt32Pkg/FvbServicesRuntimeDxe/FWBlockService.c | 3 | ||||
-rw-r--r-- | Nt32Pkg/Library/Nt32BdsLib/BdsPlatform.h | 1 | ||||
-rw-r--r-- | Nt32Pkg/Nt32Pkg.dsc | 3 | ||||
-rw-r--r-- | Nt32Pkg/WinNtThunkDxe/WinNtThunk.c | 1 |
4 files changed, 6 insertions, 2 deletions
diff --git a/Nt32Pkg/FvbServicesRuntimeDxe/FWBlockService.c b/Nt32Pkg/FvbServicesRuntimeDxe/FWBlockService.c index 4353302..e021734 100644 --- a/Nt32Pkg/FvbServicesRuntimeDxe/FWBlockService.c +++ b/Nt32Pkg/FvbServicesRuntimeDxe/FWBlockService.c @@ -45,6 +45,7 @@ Revision History #include <Library/BaseMemoryLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/UefiBootServicesTableLib.h>
+#include <Library/DevicePathLib.h>
#include "FWBlockService.h"
@@ -1484,7 +1485,7 @@ Returns: NULL
);
ASSERT_EFI_ERROR (Status);
- } else if (EfiIsDevicePathEnd (TempFwbDevicePath)) {
+ } else if (IsDevicePathEnd (TempFwbDevicePath)) {
//
// Device allready exists, so reinstall the FVB protocol
//
diff --git a/Nt32Pkg/Library/Nt32BdsLib/BdsPlatform.h b/Nt32Pkg/Library/Nt32BdsLib/BdsPlatform.h index e824d19..7487cb8 100644 --- a/Nt32Pkg/Library/Nt32BdsLib/BdsPlatform.h +++ b/Nt32Pkg/Library/Nt32BdsLib/BdsPlatform.h @@ -33,6 +33,7 @@ Abstract: #include <Library/GenericBdsLib.h>
#include <Library/PlatformBdsLib.h>
#include <Library/GraphicsLib.h>
+#include <Library/DevicePathLib.h>
#include <Protocol/WinNtThunk.h>
#include <Protocol/WinNtIo.h>
diff --git a/Nt32Pkg/Nt32Pkg.dsc b/Nt32Pkg/Nt32Pkg.dsc index 520103d..b7e5ef7 100644 --- a/Nt32Pkg/Nt32Pkg.dsc +++ b/Nt32Pkg/Nt32Pkg.dsc @@ -76,7 +76,8 @@ CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
DxePiLib|MdePkg/Library/DxePiLib/DxePiLib.inf
PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
-
+ DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
+
[LibraryClasses.common.BASE]
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
ReportStatusCodeLib|IntelFrameworkModulePkg/Library/BaseReportStatusCodeLib/BaseReportStatusCodeLib.inf
diff --git a/Nt32Pkg/WinNtThunkDxe/WinNtThunk.c b/Nt32Pkg/WinNtThunkDxe/WinNtThunk.c index 7cd0fce..f26f2bb 100644 --- a/Nt32Pkg/WinNtThunkDxe/WinNtThunk.c +++ b/Nt32Pkg/WinNtThunkDxe/WinNtThunk.c @@ -42,6 +42,7 @@ Abstract: #include <Library/UefiDriverEntryPoint.h>
#include <Library/WinNtLib.h>
#include <Library/UefiBootServicesTableLib.h>
+#include <Library/DevicePathLib.h>
#include "WinNtThunk.h"
|