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

@@ -0,0 +1 @@
!include $(BASEDIR)\makefile.def
@@ -0,0 +1,7 @@
TARGETNAME=surface_cross_process_smoke
TARGETPATH=obj
TARGETTYPE=PROGRAM
FLAVOR=USER
TARGETLIBS="$(BASEDIR)\bin\syscall.lib" "$(BASEDIR)\bin\libc.lib" "$(BASEDIR)\bin\native_runtime.lib"
EXTRA_LFLAGS=/ENTRY:NtlNativeStart
SOURCES=@/code/user/tests/surface_cross_process_smoke/surface_cross_process_smoke.c
@@ -14,12 +14,10 @@
#define TEST_VALUE_A 0x00123456u
#define TEST_VALUE_B 0x00ABCDEFu
// Terminates the test without depending on a compiler runtime return path.
static void exit_now(int code) {
for (;;) SysExitProcess(code);
}
// Writes one diagnostic string through the native console path.
static void print(const char* text) {
SYS_WRITE_CONSOLE_REQUEST request = { sizeof(request), SysSvFromCstr(text) };
(void)SysWriteConsole(&request);
@@ -39,7 +37,6 @@ static uint32_t read_pixel(const void* base, uint32_t pitch) {
return ((const uint32_t*)row)[TEST_PIXEL_X];
}
// Writes one pixel to a pitch-based XRGB8888 mapping.
static void write_pixel(void* base, uint32_t pitch, uint32_t value) {
uint8_t* row = (uint8_t*)base + (size_t)TEST_PIXEL_Y * pitch;
((uint32_t*)row)[TEST_PIXEL_X] = value;