Commit Graph

149 Commits

Author SHA1 Message Date
e81100b2e5
[NTOSKRNL:CC] Better Annotation for Initialization 2024-11-09 15:45:49 +01:00
f6620f9372
[NTOSKRNL:CC] Implemented CcSetDirtyInMask 2024-11-08 08:58:18 +01:00
d81565e7ec
[NTOSKRNL:CC] Implemented CcCanIWrite and CcDeferWrite 2024-11-03 18:56:31 +01:00
377ff4fb9b
[NTOSKRNL:CC] Add Lock Guard for DPC Level SPinlock 2024-11-01 14:44:28 +01:00
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
67ab5dc5d4 [SDK:CRT] Implement wcscpy_s() and wcscat_s() 2024-10-06 08:02:08 -04:00
b0b7be0837 [BOOT] Make assembly files compile 2024-10-05 15:45:55 -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
6a678794d3
[NTOSKRNL:CC] Implemented CcFindBitmapRangeToDirty 2024-09-28 14:17:38 +02:00
955c88d858
[NTOSKRNL:CC] Cache Utility Handler : Initial Commit
Initial Commit with Function parameter blocks
2024-09-17 12:46:27 +02: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
75197cc8b5 [SDK:NT] Add STATUS_NO_MEMORY 2024-08-27 13:58:50 -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
860874640e [SDK:NT] Add bit extraction helpers
Added LO/HIDWORD(), LO/HIWORD(), and LO/HIBYTE() macros
2024-08-27 13:20:09 -04:00
2751b0f7bb [BOOT:MM] Big work on MM :) 2024-08-27 09:32:16 -04:00
6a868b45ba [SDK:NT] Even more list helpers
Added InsertHeadList() and InsertTailList()
2024-08-27 09:20:10 -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
b63d80d5c9 [SDK:NT] Another list helper & more status values
Added STATUS_INSUFFICIENT_NVRAM_RESOURCES
Added InitializeListHead()
2024-08-26 19:51:36 -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
caec9bc42e [SDK:NT] More status values and list helpers.
Added STATUS_NOT_IMPLEMENTED.
Added RemoveEntryList().
2024-08-26 12:27:59 -04:00
1581638c26 [BOOT:MM] Begin work on memory manager 2024-08-26 11:20:25 -04:00
664bf6d713 [SDK:NT] Add MAXULONGLONG to ntdef.h 2024-08-26 11:18:00 -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
4dbb5235e3
[NTOSKRNL::KE] Implement all Mutex Directives
Implemented:: KeReleaseFastMutexContended
                      KeEnterCriticalRegionAndAcquireFastMutexUnsafe
                      KeReleaseFastMutexUnsafeAndLeaveCriticalRegion
                      KeAcquireFastMutex
                      KeAcquireFastMutexUnsafe
                      KeReleaseFastMutex
                      KeReleaseFastMutexUnsafe
                      KeInitializeGuardedMutex
                      KeAcquireGuardedMutex
                      KeAcquireGuardedMutexUnsafe
                      KeReleaseGuardedMutexUnsafe
2024-08-26 15:38:37 +02:00
dd7ae11851 Add more directory structure info to README.md 2024-08-25 11:02:08 -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
b8afb1aad4 [SDK:NT] Reorganize and extend ntdef.h
Added LONG_PTR
Added INVALID_HANDLE_VALUE
2024-08-25 10:42:37 -04:00
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
c091f7ef59 [BOOT:LIB] Print boot info in InitializeLibrary() 2024-08-24 18:55:13 -04:00
3759f7dbfe [SDK:NT] Add ULONG_PTR type 2024-08-24 18:54:33 -04:00
b96b3d769c Update .gitignore 2024-08-24 16:44:43 -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
b870d5a015 [SDK:CRT] Implement vswprintf() 2024-08-24 16:33:16 -04:00
5235ebdfa4 [BOOT:LIB] Implement BlpFwInitialize() 2024-08-24 16:32:22 -04:00