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:
1 parent
d36f19509c
commit
36eef8f58d
696 files changed
+147281
-7530
No files matched your search
@@ -1130,7 +1130,8 @@ static void Ext4UnmountPartition(const IO_PARTITION_INFO* partition, IO_PARTITIO
|
||||
uint32_t count = gExt4MountedCount;
|
||||
KeReleaseMutex(&gExt4MountMutex);
|
||||
|
||||
(void)IoRemoveVolume(ioVolume, IoVolumeBackingRemoved);
|
||||
(void)IoRemoveVolume(ioVolume, change == IoPartitionSurpriseRemoved
|
||||
? IoVolumeBackingRemoved : IoVolumeUnmounted);
|
||||
IoReleaseVolume(ioVolume);
|
||||
DbgPrint("EXT4: disk=%u lba=%llu %s; unmounted volume=%u; total=%u\n",
|
||||
partition->DiskIndex, (unsigned long long)partition->StartLba,
|
||||
@@ -1157,7 +1158,6 @@ static void Ext4PartitionChange(const IO_PARTITION_INFO* partition,
|
||||
|
||||
static KSTATUS DriverInitialize(NTL_MODULE* module) {
|
||||
(void)module;
|
||||
DbgPrint("EXT4: Init\n");
|
||||
|
||||
Ext4ListInit(&gExt4Mounts);
|
||||
gExt4MountedCount = 0;
|
||||
@@ -1170,9 +1170,7 @@ static KSTATUS DriverInitialize(NTL_MODULE* module) {
|
||||
return status;
|
||||
}
|
||||
|
||||
if (!gExt4MountedCount)
|
||||
DbgPrint("EXT4: no mountable ext partitions found; driver resident for partition changes.\n");
|
||||
DbgPrint("EXT4: Init complete; mounted %u volume(s).\n", gExt4MountedCount);
|
||||
DbgPrint("fs: ext4 volumes=%u\n", gExt4MountedCount);
|
||||
return NTLSTATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
!include $(BASEDIR)\makefile.def
|
||||
@@ -0,0 +1,11 @@
|
||||
TARGETNAME=ext4
|
||||
TARGETPATH=obj
|
||||
TARGETTYPE=DRIVER
|
||||
FLAVOR=EXT4
|
||||
TARGETLIBS="$(BASEDIR)\bin\kernel.lib" "$(BASEDIR)\bin\libc.lib"
|
||||
EXTRA_LFLAGS=/NOENTRY
|
||||
INCLUDES=$(BASEDIR)\code\drivers\fs\ext4\include;$(BASEDIR)\code\drivers\fs\ext4\third_party\lwext4\include
|
||||
SOURCES=@/code/drivers/fs/ext4/ext4_port.c @/code/drivers/fs/ext4/ext4_driver.c @/code/drivers/fs/ext4/third_party/lwext4/src/ext4.c @/code/drivers/fs/ext4/third_party/lwext4/src/ext4_balloc.c @/code/drivers/fs/ext4/third_party/lwext4/src/ext4_bcache.c @/code/drivers/fs/ext4/third_party/lwext4/src/ext4_bitmap.c \
|
||||
@/code/drivers/fs/ext4/third_party/lwext4/src/ext4_block_group.c @/code/drivers/fs/ext4/third_party/lwext4/src/ext4_blockdev.c @/code/drivers/fs/ext4/third_party/lwext4/src/ext4_crc32.c @/code/drivers/fs/ext4/third_party/lwext4/src/ext4_debug.c @/code/drivers/fs/ext4/third_party/lwext4/src/ext4_dir.c @/code/drivers/fs/ext4/third_party/lwext4/src/ext4_dir_idx.c \
|
||||
@/code/drivers/fs/ext4/third_party/lwext4/src/ext4_extent.c @/code/drivers/fs/ext4/third_party/lwext4/src/ext4_fs.c @/code/drivers/fs/ext4/third_party/lwext4/src/ext4_hash.c @/code/drivers/fs/ext4/third_party/lwext4/src/ext4_ialloc.c @/code/drivers/fs/ext4/third_party/lwext4/src/ext4_inode.c @/code/drivers/fs/ext4/third_party/lwext4/src/ext4_journal.c \
|
||||
@/code/drivers/fs/ext4/third_party/lwext4/src/ext4_super.c @/code/drivers/fs/ext4/third_party/lwext4/src/ext4_trans.c @/code/drivers/fs/ext4/third_party/lwext4/src/ext4_xattr.c
|
||||
Reference in new issue
Block a user