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

+6 -5
View File
@@ -6,7 +6,7 @@
#include <intrin.h>
#include <ntlite/status.h>
#include <ntlite/ddk/ddk.h>
#include <ntlite/ddk/module.h>
#include <ntlite/ddi/input_device.h>
#include <ntlite/ddk/debug.h>
#include <ntlite/ddk/dpc.h>
@@ -339,10 +339,9 @@ static KSTATUS SerialConfigureCom1(void) {
return NTLSTATUS_DEVICE_ERROR;
}
// DriverEntry registers COM1 as an input source.
KSTATUS DriverEntry(const NTL_DDK* ddk, NTL_DRIVER_INIT* init) {
(void)ddk;
(void)init;
// Initializes the optional COM1 input source.
static KSTATUS SerialInitialize(NTL_MODULE* module) {
(void)module;
if (!SerialProbeCom1()) {
DbgPrint("serial: COM1 not present; input driver disabled\n");
@@ -374,3 +373,5 @@ KSTATUS DriverEntry(const NTL_DDK* ddk, NTL_DRIVER_INIT* init) {
DbgPrint("serial: initialized COM1 input device=%u irq=%u\n", deviceId, SERIAL_COM1_IRQ);
return NTLSTATUS_SUCCESS;
}
NTL_DECLARE_MODULE(SerialInitialize);