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

+26
View File
@@ -0,0 +1,26 @@
// Pure driver-library helpers for walking PCI capability lists.
#pragma once
#include <stdint.h>
#include <ntlite/status.h>
typedef struct NTL_PCI_CONFIG_READER {
void* Context;
uint32_t (*Read32)(void* context, uint16_t offset);
} NTL_PCI_CONFIG_READER;
#ifdef __cplusplus
extern "C" {
#endif
// Finds an ordinary PCI capability using an explicitly supplied config reader.
// Returns NOT_FOUND for a valid exhausted list and DEVICE_ERROR for malformed lists.
KSTATUS NtlPciFindCapability(const NTL_PCI_CONFIG_READER* reader,
uint8_t firstOffset,
uint8_t capabilityId,
uint8_t* outOffset);
#ifdef __cplusplus
}
#endif