Reorganise bootman.h
This commit is contained in:
parent
40e7b29af8
commit
87dceb0ba7
@ -20,6 +20,28 @@ XTCDECL
|
|||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
BlCloseVolume(IN PEFI_HANDLE VolumeHandle);
|
BlCloseVolume(IN PEFI_HANDLE VolumeHandle);
|
||||||
|
|
||||||
|
XTCDECL
|
||||||
|
VOID
|
||||||
|
BlConsoleClearScreen();
|
||||||
|
|
||||||
|
XTCDECL
|
||||||
|
VOID
|
||||||
|
BlConsoleDisableCursor();
|
||||||
|
|
||||||
|
XTCDECL
|
||||||
|
VOID
|
||||||
|
BlConsoleEnableCursor();
|
||||||
|
|
||||||
|
XTCDECL
|
||||||
|
VOID
|
||||||
|
BlConsolePrint(IN PUINT16 Format,
|
||||||
|
IN ...);
|
||||||
|
|
||||||
|
XTCDECL
|
||||||
|
VOID
|
||||||
|
BlDebugPrint(IN PUINT16 Format,
|
||||||
|
IN ...);
|
||||||
|
|
||||||
XTCDECL
|
XTCDECL
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
BlEnumerateBlockDevices();
|
BlEnumerateBlockDevices();
|
||||||
@ -64,28 +86,6 @@ BlReadFile(IN PEFI_FILE_HANDLE DirHandle,
|
|||||||
OUT PVOID *FileData,
|
OUT PVOID *FileData,
|
||||||
OUT PSIZE_T FileSize);
|
OUT PSIZE_T FileSize);
|
||||||
|
|
||||||
XTCDECL
|
|
||||||
VOID
|
|
||||||
BlConsoleClearScreen();
|
|
||||||
|
|
||||||
XTCDECL
|
|
||||||
VOID
|
|
||||||
BlConsoleDisableCursor();
|
|
||||||
|
|
||||||
XTCDECL
|
|
||||||
VOID
|
|
||||||
BlConsoleEnableCursor();
|
|
||||||
|
|
||||||
XTCDECL
|
|
||||||
VOID
|
|
||||||
BlConsolePrint(IN PUINT16 Format,
|
|
||||||
IN ...);
|
|
||||||
|
|
||||||
XTCDECL
|
|
||||||
VOID
|
|
||||||
BlDebugPrint(IN PUINT16 Format,
|
|
||||||
IN ...);
|
|
||||||
|
|
||||||
XTCDECL
|
XTCDECL
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
BlMemoryFreePages(IN UINT64 Pages,
|
BlMemoryFreePages(IN UINT64 Pages,
|
||||||
@ -113,6 +113,18 @@ XTCDECL
|
|||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
BlpActivateSerialIOController();
|
BlpActivateSerialIOController();
|
||||||
|
|
||||||
|
XTCDECL
|
||||||
|
VOID
|
||||||
|
BlpConsoleInitialize();
|
||||||
|
|
||||||
|
XTCDECL
|
||||||
|
VOID
|
||||||
|
BlpConsolePrintChar(IN USHORT Character);
|
||||||
|
|
||||||
|
XTCDECL
|
||||||
|
VOID
|
||||||
|
BlpDebugPutChar(IN USHORT Character);
|
||||||
|
|
||||||
XTCDECL
|
XTCDECL
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
BlpDiscoverEfiBlockDevices(OUT PLIST_ENTRY BlockDevices);
|
BlpDiscoverEfiBlockDevices(OUT PLIST_ENTRY BlockDevices);
|
||||||
@ -141,32 +153,6 @@ BlpFindParentBlockDevice(IN PLIST_ENTRY BlockDevices,
|
|||||||
IN PEFI_BLOCK_DEVICE_DATA ChildNode,
|
IN PEFI_BLOCK_DEVICE_DATA ChildNode,
|
||||||
OUT PEFI_BLOCK_DEVICE_DATA ParentNode);
|
OUT PEFI_BLOCK_DEVICE_DATA ParentNode);
|
||||||
|
|
||||||
XTCDECL
|
|
||||||
EFI_STATUS
|
|
||||||
BlpLoadConfigurationFile(IN CONST PWCHAR ConfigDirectory,
|
|
||||||
IN CONST PWCHAR ConfigFile,
|
|
||||||
OUT PCHAR *ConfigData);
|
|
||||||
|
|
||||||
XTCDECL
|
|
||||||
VOID
|
|
||||||
BlpParseCommandLineOptions(VOID);
|
|
||||||
|
|
||||||
XTCDECL
|
|
||||||
VOID
|
|
||||||
BlpUpdateGlobalConfiguration(IN PWCHAR Options);
|
|
||||||
|
|
||||||
XTCDECL
|
|
||||||
VOID
|
|
||||||
BlpConsoleInitialize();
|
|
||||||
|
|
||||||
XTCDECL
|
|
||||||
VOID
|
|
||||||
BlpConsolePrintChar(IN USHORT Character);
|
|
||||||
|
|
||||||
XTCDECL
|
|
||||||
VOID
|
|
||||||
BlpDebugPutChar(IN USHORT Character);
|
|
||||||
|
|
||||||
XTCDECL
|
XTCDECL
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
BlpInitializeDebugConsole();
|
BlpInitializeDebugConsole();
|
||||||
@ -181,6 +167,16 @@ BlpInitializeSerialPort(IN ULONG PortNumber,
|
|||||||
IN ULONG PortAddress,
|
IN ULONG PortAddress,
|
||||||
IN ULONG BaudRate);
|
IN ULONG BaudRate);
|
||||||
|
|
||||||
|
XTCDECL
|
||||||
|
EFI_STATUS
|
||||||
|
BlpLoadConfigurationFile(IN CONST PWCHAR ConfigDirectory,
|
||||||
|
IN CONST PWCHAR ConfigFile,
|
||||||
|
OUT PCHAR *ConfigData);
|
||||||
|
|
||||||
|
XTCDECL
|
||||||
|
VOID
|
||||||
|
BlpParseCommandLineOptions(VOID);
|
||||||
|
|
||||||
XTCDECL
|
XTCDECL
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
BlpRegisterXtLoaderProtocol();
|
BlpRegisterXtLoaderProtocol();
|
||||||
@ -227,4 +223,8 @@ XTCDECL
|
|||||||
UINT64
|
UINT64
|
||||||
BlpStringReadPadding(IN PUINT16 *Format);
|
BlpStringReadPadding(IN PUINT16 *Format);
|
||||||
|
|
||||||
|
XTCDECL
|
||||||
|
VOID
|
||||||
|
BlpUpdateGlobalConfiguration(IN PWCHAR Options);
|
||||||
|
|
||||||
#endif /* __XTLDR_BOOTMAN_H */
|
#endif /* __XTLDR_BOOTMAN_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user