replace nob with ms' build, move disk creation to build.bat, major comment cleanup, remove old and stupid tests, overhaul interrupt management with per-CPU vector allocation, affinity migration and safe teardown, add proper IOAPIC routing and PCI MSI/MSI-X/INTx support, migrate drivers to the new interrupt API, integrate ACPICA with a proper OS services layer, move ACPI firmware events, power button handling and S5 shutdown into acpi.sys, add parallel driver startup and atomic publication, replace PnP arrays with dynamic lists, redesign service startup again to be asynchronous, add delayed startup mode for services, allow omitting keys in services.ini, fix acpi ec deferred work handling, fix kernel threads having garbage exit code.

This commit is contained in:
maksw committed 2026-10-28 15:18:43 +01:00
1 parent d36f19509c
commit 36eef8f58d
696 files changed
+147281 -7530

No files matched your search

+3 -5
View File
@@ -249,7 +249,8 @@ static void FatUnmountPartition(const IO_PARTITION_INFO* partition, IO_PARTITION
uint32_t mountedCount = gMountedCount;
KeReleaseMutex(&gFatMountMutex);
(void)IoRemoveVolume(volume, IoVolumeBackingRemoved);
(void)IoRemoveVolume(volume, change == IoPartitionSurpriseRemoved
? IoVolumeBackingRemoved : IoVolumeUnmounted);
IoReleaseVolume(volume); // Drop the active mount-list reference.
DbgPrint("FAT: disk=%u lba=%llu %s; unmounted volume=%u; total=%u\n",
partition->DiskIndex, (unsigned long long)partition->StartLba,
@@ -278,7 +279,6 @@ static void FatPartitionChange(const IO_PARTITION_INFO* partition,
// Initializes FAT and subscribes to the authoritative kernel partition stream.
static KSTATUS DriverInitialize(NTL_MODULE* module) {
(void)module;
DbgPrint("FAT: Init\n");
FatCacheInvalidate();
@@ -292,9 +292,7 @@ static KSTATUS DriverInitialize(NTL_MODULE* module) {
return status;
}
if (!gMountedCount)
DbgPrint("FAT: no mountable FAT partitions found; driver resident for partition changes.\n");
DbgPrint("FAT: Init complete; mounted %u volume(s).\n", gMountedCount);
DbgPrint("fs: fat volumes=%u\n", gMountedCount);
return NTLSTATUS_SUCCESS;
}