Commit Graph
66 Commits
Author SHA1 Message Date
Kaimakan71 24a31cab26 [BOOT] Execution contexts and more refactoring 2024-10-05 15:44:25 -04:00
Kaimakan71 7c3dafc051 [BOOT] Huge refactor 2024-10-05 15:39:04 -04:00
Kaimakan71 2a19fd42de [BOOT] Improve debug logging 2024-09-01 17:54:40 -04:00
Kaimakan71 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
Kaimakan71 65e33fdad5 [BOOT:MM] Finish MmMdRemoveRegionFromMdlEx() 2024-09-01 16:49:19 -04:00
Kaimakan71 3aae765c9c [BOOT:MM] Implement MmMdFindDescriptorFromMdl() 2024-09-01 12:41:08 -04:00
Kaimakan71 471beb8130 [BOOT:MM] Finish MmMdpHasPrecedence() 2024-09-01 12:21:05 -04:00
Kaimakan71 4c32340803 [BOOT:MM] Finish MmFwGetMemoryMap()
Added stub for MmMdFindDescriptorFromMdl().
2024-09-01 10:38:28 -04:00
Kaimakan71 a32d72be1e [BOOT] Improve TODO comments 2024-09-01 09:36:09 -04:00
Kaimakan71 75197cc8b5 [SDK:NT] Add STATUS_NO_MEMORY 2024-08-27 13:58:50 -04:00
Kaimakan71 6fc91eb58c [BOOT] Add stubs to complete MmPaInitialize()
MmPaInitialize() is now complete
Added BlpMmInitializeConstraints() and MmMdRemoveRegionFromMdlEx()
2024-08-27 13:57:21 -04:00
Kaimakan71 437b19a0f5 [BOOT] Better debug logging 2024-08-27 13:21:45 -04:00
Kaimakan71 860874640e [SDK:NT] Add bit extraction helpers
Added LO/HIDWORD(), LO/HIWORD(), and LO/HIBYTE() macros
2024-08-27 13:20:09 -04:00
Kaimakan71 2751b0f7bb [BOOT:MM] Big work on MM :) 2024-08-27 09:32:16 -04:00
Kaimakan71 6a868b45ba [SDK:NT] Even more list helpers
Added InsertHeadList() and InsertTailList()
2024-08-27 09:20:10 -04:00
Kaimakan71 831a676af8 [BOOT] Get rid of useless comments 2024-08-27 08:13:49 -04:00
Kaimakan71 d759302400 [BOOT:LIB] Implement EfiGetNtStatusCode() 2024-08-26 19:56:20 -04:00
Kaimakan71 c7298452ff [BOOT] Small refactoring 2024-08-26 19:55:32 -04:00
Kaimakan71 72f7e5057c [BOOT] More header stuff 2024-08-26 19:54:21 -04:00
Kaimakan71 b63d80d5c9 [SDK:NT] Another list helper & more status values
Added STATUS_INSUFFICIENT_NVRAM_RESOURCES
Added InitializeListHead()
2024-08-26 19:51:36 -04:00
Kaimakan71 ef1ac515dd [BOOT:MM] More work on memory manager 2024-08-26 12:30:31 -04:00
Kaimakan71 bbd8f475bb [BOOT] Add additional README.md 2024-08-26 12:29:04 -04:00
Kaimakan71 caec9bc42e [SDK:NT] More status values and list helpers.
Added STATUS_NOT_IMPLEMENTED.
Added RemoveEntryList().
2024-08-26 12:27:59 -04:00
Kaimakan71 1581638c26 [BOOT:MM] Begin work on memory manager 2024-08-26 11:20:25 -04:00
Kaimakan71 664bf6d713 [SDK:NT] Add MAXULONGLONG to ntdef.h 2024-08-26 11:18:00 -04:00
Kaimakan71 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
Kaimakan71 dd7ae11851 Add more directory structure info to README.md 2024-08-25 11:02:08 -04:00
Kaimakan71 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
Kaimakan71 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
Kaimakan71 e61d0f5155 [BOOT:BOOTMGR] Begin work on BCD support
Added stub for BmOpenDataStore()
2024-08-25 10:43:48 -04:00
Kaimakan71 b8afb1aad4 [SDK:NT] Reorganize and extend ntdef.h
Added LONG_PTR
Added INVALID_HANDLE_VALUE
2024-08-25 10:42:37 -04:00
Kaimakan71 fb0e36f5cf [SDK:NT] Add more status values and handles
Added STATUS_INVALID_PARAMETER_[1-12]
Added HANDLE and PHANDLE
2024-08-25 10:31:04 -04:00
Kaimakan71 c091f7ef59 [BOOT:LIB] Print boot info in InitializeLibrary() 2024-08-24 18:55:13 -04:00
Kaimakan71 3759f7dbfe [SDK:NT] Add ULONG_PTR type 2024-08-24 18:54:33 -04:00
Kaimakan71 b96b3d769c Update .gitignore 2024-08-24 16:44:43 -04:00
Kaimakan71 7aac701cc1 [BOOT:BOOTMGR] Print error message on failure 2024-08-24 16:35:36 -04:00
Kaimakan71 77d2f84e97 [BOOT:LIB] Implement ConsolePrintf() 2024-08-24 16:34:59 -04:00
Kaimakan71 b870d5a015 [SDK:CRT] Implement vswprintf() 2024-08-24 16:33:16 -04:00
Kaimakan71 5235ebdfa4 [BOOT:LIB] Implement BlpFwInitialize() 2024-08-24 16:32:22 -04:00
Kaimakan71 874d95ae4c [BOOT:LIB] Implement EfiInitpConvertEfiFilePath()
Also implemented RtlULongSub() and EfiInitpAppendPathString()
2024-08-24 12:39:16 -04:00
Kaimakan71 8f56881d02 [BOOT:LIB] More work on efiinit.c
EfiInitpCreateApplicationEntry() is almost complete.
2024-08-24 10:36:32 -04:00
Kaimakan71 0743fa0106 [BOOT:LIB] Add boot option size helpers 2024-08-24 10:35:48 -04:00
Kaimakan71 fd670ace0d [BOOT:LIB] Major work on efiinit.c
Improved EfiInitpCreateApplicationEntry()
Implemented EfiInitpGetDeviceNode(), EfiInitTranslateDevicePath(),
and EfiInitpConvertDevicePath()
2024-08-24 09:30:52 -04:00
Kaimakan71 9b66f166d6 [BOOT:BOOTMGR] Add device definitions to bootmgr.h 2024-08-24 09:16:34 -04:00
Kaimakan71 a6aa028e5c [BUILD] Fix source file paths 2024-08-24 09:12:52 -04:00
Kaimakan71 ccb62c05f5 [SDK:NT] Add BOOL and STATUS_UNSUCCESSFUL 2024-08-24 09:12:16 -04:00
Kaimakan71 1c2c797365 [BOOT] Add more definitions to efidevp.h 2024-08-24 09:11:21 -04:00
Kaimakan71 2530ffd322 [BOOT:BOOTLIB] Improve EFI device protocol support 2024-08-09 15:10:10 -04:00
Kaimakan71 2680e9b4c0 [BOOT:BOOTLIB] Parse BCD GUID to application entry 2024-08-09 09:11:09 -04:00
Kaimakan71 76e007584e Make BOOTMGR buildable again 2024-08-09 09:10:23 -04:00
Kaimakan71 ceb86e3cb2 [SDK:RTL] Add RtlInitUnicodeString() and RtlGUIDFromString() 2024-08-09 08:34:04 -04:00
Kaimakan71 0998d5c417 [SDK:NT] Improve ntdef.h and add guiddef.h 2024-08-09 08:32:31 -04:00
Kaimakan71 7af18b7ac3 [SDK:CRT] Implement stdarg.h 2024-08-09 08:31:35 -04:00
Kaimakan71 b57dcc8078 [SDK:CRT] Implement more string routines 2024-08-08 16:41:45 -04:00
Kaimakan71 120277161c [SDK] Reorganize header files 2024-08-08 15:27:44 -04:00
Kaimakan71 e48262d4d7 [SDK:CRT] Implement memcpy() and wmemcpy() 2024-08-08 08:24:20 -04:00
Kaimakan71 8ff7a75afc Add SDK/CRT string routines and headers 2024-08-08 08:04:59 -04:00
Kaimakan71 70489d6d39 Update README.md 2024-08-08 08:04:35 -04:00
Kaimakan71 be6f37b4dc [BOOT] Create input parameters structures. 2024-06-06 09:40:58 -04:00
Kaimakan71 42369f91ee [BOOT] Add boot library stubs 2024-05-30 19:54:07 -04:00
Kaimakan71 472b48ffd6 [BOOT] Rename efistatus.c to efiinit.c 2024-05-30 12:22:04 -04:00
Kaimakan71 9f7a91a5a7 Add Premake build system 2024-05-28 08:31:42 -04:00
Kaimakan71 d2c2ba65ea [BOOT] Add boot manager headers 2024-05-28 08:30:34 -04:00
Kaimakan71 8398391482 [BOOT] Fix copyright info 2024-05-23 10:03:59 -04:00
Kaimakan71 cdaea7b291 Fix README 2024-05-22 20:07:38 -04:00
Kaimakan71 8e7c2d02bb [BOOT] Add EFI headers and entry point 2024-05-22 19:56:17 -04:00