Implement BlReadFile() routine
Some checks failed
Builds / ExectOS (amd64) (push) Failing after 19s
Builds / ExectOS (i686) (push) Failing after 15s

This commit is contained in:
2023-12-08 15:57:44 +01:00
parent 089c2213a4
commit 212091811f
3 changed files with 129 additions and 2 deletions

View File

@@ -95,6 +95,9 @@ BlpRegisterXtLoaderProtocol()
LdrProtocol.Console.EnableCursor = BlConsoleEnableCursor;
LdrProtocol.Console.Print = BlConsolePrint;
LdrProtocol.Debug.Print = BlDebugPrint;
LdrProtocol.Disk.CloseVolume = BlCloseVolume;
LdrProtocol.Disk.OpenVolume = BlOpenVolume;
LdrProtocol.Disk.ReadFile = BlReadFile;
LdrProtocol.Memory.AllocatePages = BlMemoryAllocatePages;
LdrProtocol.Memory.AllocatePool = BlMemoryAllocatePool;
LdrProtocol.Memory.FreePages = BlMemoryFreePages;
@@ -102,8 +105,6 @@ BlpRegisterXtLoaderProtocol()
LdrProtocol.Protocol.Open = BlOpenXtProtocol;
LdrProtocol.Util.ExitBootServices = BlExitBootServices;
LdrProtocol.Util.SleepExecution = BlSleepExecution;
LdrProtocol.Volume.Close = BlCloseVolume;
LdrProtocol.Volume.Open = BlOpenVolume;
/* Register XTLDR loader protocol */
BlDebugPrint(L"Registering XT loader protocol\n");