Commit Graph

44 Commits

Author SHA1 Message Date
2472e39635 [BOOT:LIB] More initialization and cleanup
Started BlpMmDestroy(), MmMdDestroy(), MmPaDestroy(),
EfiSetWatchdogTimer(), EfiOpenProtocol(), EfiConInExSetState(), and
BlDestroyLibrary().
Completed BlpFwInitialize().
Improved InitializeLibrary().
2024-10-06 13:50:21 -04:00
620ede5862 [BOOT:LIB] Declare global variables in bootlib.h 2024-10-06 08:04:40 -04:00
24a31cab26 [BOOT] Execution contexts and more refactoring 2024-10-05 15:44:25 -04:00
7c3dafc051 [BOOT] Huge refactor 2024-10-05 15:39:04 -04:00
2a19fd42de [BOOT] Improve debug logging 2024-09-01 17:54:40 -04:00
43c6c75710 [BOOT:MM] Fix descriptor memory leaks
Sometimes when handling MmMdAddDescriptorToList() errors, descriptors
were not freed with MmMdFreeDescriptor().
2024-09-01 16:56:18 -04:00
65e33fdad5 [BOOT:MM] Finish MmMdRemoveRegionFromMdlEx() 2024-09-01 16:49:19 -04:00
3aae765c9c [BOOT:MM] Implement MmMdFindDescriptorFromMdl() 2024-09-01 12:41:08 -04:00
471beb8130 [BOOT:MM] Finish MmMdpHasPrecedence() 2024-09-01 12:21:05 -04:00
4c32340803 [BOOT:MM] Finish MmFwGetMemoryMap()
Added stub for MmMdFindDescriptorFromMdl().
2024-09-01 10:38:28 -04:00
a32d72be1e [BOOT] Improve TODO comments 2024-09-01 09:36:09 -04:00
6fc91eb58c [BOOT] Add stubs to complete MmPaInitialize()
MmPaInitialize() is now complete
Added BlpMmInitializeConstraints() and MmMdRemoveRegionFromMdlEx()
2024-08-27 13:57:21 -04:00
437b19a0f5 [BOOT] Better debug logging 2024-08-27 13:21:45 -04:00
2751b0f7bb [BOOT:MM] Big work on MM :) 2024-08-27 09:32:16 -04:00
831a676af8 [BOOT] Get rid of useless comments 2024-08-27 08:13:49 -04:00
d759302400 [BOOT:LIB] Implement EfiGetNtStatusCode() 2024-08-26 19:56:20 -04:00
c7298452ff [BOOT] Small refactoring 2024-08-26 19:55:32 -04:00
72f7e5057c [BOOT] More header stuff 2024-08-26 19:54:21 -04:00
ef1ac515dd [BOOT:MM] More work on memory manager 2024-08-26 12:30:31 -04:00
bbd8f475bb [BOOT] Add additional README.md 2024-08-26 12:29:04 -04:00
1581638c26 [BOOT:MM] Begin work on memory manager 2024-08-26 11:20:25 -04:00
76b01cfb00 [BOOT:LIB] Add conditional debug printing
Added DebugPrint() and DebugPrintf() macros, which are aliases of
ConsolePrint() and ConsolePrintf() if _DEBUG is defined. Otherwise, they
do not generate any code.
2024-08-26 10:44:31 -04:00
7125a17aca [BOOT:LIB] Refactor bootlib.c
InitializeLibary() now saves parameters data in
BlpApplicationParameters, BlpApplicationEntry, and BlpBootDevice.
Moved BlGetBootOptionSize() and BlGetBootOptionListSize() to bootopt.c
2024-08-25 10:55:20 -04:00
de9501aee9 [BOOT:LIB] Do some renaming
BOOT_APPLICATION_ENTRY_OPTION -> BOOT_APPLICATION_OPTION
BOOT_APPLICATION_ENTRY -> BOOT_INPUT_APPLICATION_ENTRY
2024-08-25 10:49:44 -04:00
e61d0f5155 [BOOT:BOOTMGR] Begin work on BCD support
Added stub for BmOpenDataStore()
2024-08-25 10:43:48 -04:00
c091f7ef59 [BOOT:LIB] Print boot info in InitializeLibrary() 2024-08-24 18:55:13 -04:00
7aac701cc1 [BOOT:BOOTMGR] Print error message on failure 2024-08-24 16:35:36 -04:00
77d2f84e97 [BOOT:LIB] Implement ConsolePrintf() 2024-08-24 16:34:59 -04:00
5235ebdfa4 [BOOT:LIB] Implement BlpFwInitialize() 2024-08-24 16:32:22 -04:00
874d95ae4c [BOOT:LIB] Implement EfiInitpConvertEfiFilePath()
Also implemented RtlULongSub() and EfiInitpAppendPathString()
2024-08-24 12:39:16 -04:00
8f56881d02 [BOOT:LIB] More work on efiinit.c
EfiInitpCreateApplicationEntry() is almost complete.
2024-08-24 10:36:32 -04:00
0743fa0106 [BOOT:LIB] Add boot option size helpers 2024-08-24 10:35:48 -04:00
fd670ace0d [BOOT:LIB] Major work on efiinit.c
Improved EfiInitpCreateApplicationEntry()
Implemented EfiInitpGetDeviceNode(), EfiInitTranslateDevicePath(),
and EfiInitpConvertDevicePath()
2024-08-24 09:30:52 -04:00
9b66f166d6 [BOOT:BOOTMGR] Add device definitions to bootmgr.h 2024-08-24 09:16:34 -04:00
1c2c797365 [BOOT] Add more definitions to efidevp.h 2024-08-24 09:11:21 -04:00
2530ffd322 [BOOT:BOOTLIB] Improve EFI device protocol support 2024-08-09 15:10:10 -04:00
2680e9b4c0 [BOOT:BOOTLIB] Parse BCD GUID to application entry 2024-08-09 09:11:09 -04:00
120277161c [SDK] Reorganize header files 2024-08-08 15:27:44 -04:00
be6f37b4dc [BOOT] Create input parameters structures. 2024-06-06 09:40:58 -04:00
42369f91ee [BOOT] Add boot library stubs 2024-05-30 19:54:07 -04:00
472b48ffd6 [BOOT] Rename efistatus.c to efiinit.c 2024-05-30 12:22:04 -04:00
d2c2ba65ea [BOOT] Add boot manager headers 2024-05-28 08:30:34 -04:00
8398391482 [BOOT] Fix copyright info 2024-05-23 10:03:59 -04:00
8e7c2d02bb [BOOT] Add EFI headers and entry point 2024-05-22 19:56:17 -04:00