replace ad hoc driver loading with a proper driver manager, new DDK, new PnP manager with device matching, asynchronous startup, resource ownership and removal, add shared PCI capability helpers, replace typed, rigid services with a proper service manager, implement proper system shutdown and restart, shutting down unloads drivers and shuts down services, add simple power button, remove heavyweight boot self-tests and SMP stress runs, add monotonic timestamps to kernel debug output, fruitless USB and PS/2 fixes, make test builds opt in.

This commit is contained in:
maksw committed 2026-10-26 10:08:03 +01:00
1 parent c0ad63c27f
commit d36f19509c
160 files changed
+6563 -7366

No files matched your search

+5 -5
View File
@@ -1,3 +1,4 @@
#include <ntlite/ddk/module.h>
/*
* NTLite ext2/ext3/ext4 read/write filesystem driver backed by lwext4.
*
@@ -1154,12 +1155,9 @@ static void Ext4PartitionChange(const IO_PARTITION_INFO* partition,
}
}
KSTATUS DriverEntry(const NTL_DDK* ddk, NTL_DRIVER_INIT* init) {
static KSTATUS DriverInitialize(NTL_MODULE* module) {
(void)module;
DbgPrint("EXT4: Init\n");
if (!ddk)
return NTLSTATUS_INVALID_PARAMETER;
if (init)
init->Name = "ext4";
Ext4ListInit(&gExt4Mounts);
gExt4MountedCount = 0;
@@ -1177,3 +1175,5 @@ KSTATUS DriverEntry(const NTL_DDK* ddk, NTL_DRIVER_INIT* init) {
DbgPrint("EXT4: Init complete; mounted %u volume(s).\n", gExt4MountedCount);
return NTLSTATUS_SUCCESS;
}
NTL_DECLARE_MODULE(DriverInitialize);