Not really needed as each module will get both ImageHandle and SystemTable
This commit is contained in:
@@ -44,34 +44,6 @@ BlExitBootServices(IN UINT_PTR MapKey)
|
||||
return Status;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the EFI image handle.
|
||||
*
|
||||
* @return This routine returns the current EFI image handle.
|
||||
*
|
||||
* @since XT 1.0
|
||||
*/
|
||||
XTCDECL
|
||||
EFI_HANDLE
|
||||
BlGetEfiImageHandle()
|
||||
{
|
||||
return BlpStatus.ImageHandle;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the EFI system table.
|
||||
*
|
||||
* @return This routine returns the current EFI system table.
|
||||
*
|
||||
* @since XT 1.0
|
||||
*/
|
||||
XTCDECL
|
||||
PEFI_SYSTEM_TABLE
|
||||
BlGetEfiSystemTable()
|
||||
{
|
||||
return BlpStatus.SystemTable;
|
||||
}
|
||||
|
||||
/**
|
||||
* Puts the system to sleep for the specified number of milliseconds.
|
||||
*
|
||||
|
@@ -52,14 +52,6 @@ VOID
|
||||
BlDebugPrint(IN PUINT16 Format,
|
||||
IN ...);
|
||||
|
||||
XTCDECL
|
||||
EFI_HANDLE
|
||||
BlGetEfiImageHandle();
|
||||
|
||||
XTCDECL
|
||||
PEFI_SYSTEM_TABLE
|
||||
BlGetEfiSystemTable();
|
||||
|
||||
XTCDECL
|
||||
EFI_STATUS
|
||||
BlMemoryFreePages(IN UINT64 Pages,
|
||||
|
@@ -101,8 +101,6 @@ BlpRegisterXtLoaderProtocol()
|
||||
LdrProtocol.Memory.FreePool = BlMemoryFreePool;
|
||||
LdrProtocol.Protocol.Open = BlOpenXtProtocol;
|
||||
LdrProtocol.Util.ExitBootServices = BlExitBootServices;
|
||||
LdrProtocol.Util.GetImageHandle = BlGetEfiImageHandle;
|
||||
LdrProtocol.Util.GetSystemTable = BlGetEfiSystemTable;
|
||||
LdrProtocol.Util.SleepExecution = BlSleepExecution;
|
||||
|
||||
/* Register XTLDR loader protocol */
|
||||
|
Reference in New Issue
Block a user