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:
1 parent
c0ad63c27f
commit
d36f19509c
160 files changed
+6563
-7366
No files matched your search
@@ -1,3 +1,4 @@
|
||||
#include <ntlite/ddk/module.h>
|
||||
/* NTFS-3G filesystem provider for NTLite. */
|
||||
|
||||
#include "config.h"
|
||||
@@ -1137,12 +1138,9 @@ static void Ntfs3gPartitionChange(const IO_PARTITION_INFO* partition,
|
||||
}
|
||||
}
|
||||
|
||||
KSTATUS DriverEntry(const NTL_DDK* ddk, NTL_DRIVER_INIT* init) {
|
||||
static KSTATUS DriverInitialize(NTL_MODULE* module) {
|
||||
(void)module;
|
||||
DbgPrint("NTFS3G: Init (libntfs-3g replacement driver)\n");
|
||||
if (!ddk)
|
||||
return NTLSTATUS_INVALID_PARAMETER;
|
||||
if (init)
|
||||
init->Name = "ntfs";
|
||||
Ntfs3gListInit(&gNtfs3gMounts);
|
||||
gNtfs3gMountedCount = 0;
|
||||
Ntfs3gEnsureMutexes();
|
||||
@@ -1152,3 +1150,5 @@ KSTATUS DriverEntry(const NTL_DDK* ddk, NTL_DRIVER_INIT* init) {
|
||||
DbgPrint("NTFS3G: Init complete; mounted %u volume(s).\n", gNtfs3gMountedCount);
|
||||
return NTLSTATUS_SUCCESS;
|
||||
}
|
||||
|
||||
NTL_DECLARE_MODULE(DriverInitialize);
|
||||
Reference in new issue
Block a user