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

+34
View File
@@ -0,0 +1,34 @@
@echo off
setlocal
cd /d "%~dp0"
if /i "%~1"=="clean" (
if exist out rmdir /s /q out
exit /b 0
)
where cl.exe >nul 2>nul || (
echo build.bat: run from a Visual Studio Developer Command Prompt.
exit /b 1
)
if not exist out\obj mkdir out\obj
del /q out\obj\*.obj out\build.exe >nul 2>nul
set "CFLAGS=/nologo /W3 /wd4101 /wd4267 /D_CRT_SECURE_NO_WARNINGS /D_CRT_NONSTDC_NO_WARNINGS /DVER_PRODUCTBUILD=0 /I."
cl %CFLAGS% /TC /std:c17 /Foout\obj\ /c ^
build.c builddb.c buildexe.c buildmak.c buildscn.c ^
buildsrc.c buildutl.c buildinc.c buildglobals.c watch.c || exit /b 1
cl %CFLAGS% /TP /std:c++17 /Foout\obj\buildscr.obj /c buildscr.cpp || exit /b 1
link /nologo /out:out\build.exe ^
out\obj\build.obj out\obj\builddb.obj out\obj\buildexe.obj ^
out\obj\buildmak.obj out\obj\buildscn.obj out\obj\buildsrc.obj ^
out\obj\buildutl.obj out\obj\buildinc.obj out\obj\buildglobals.obj ^
out\obj\buildscr.obj out\obj\watch.obj ^
ole32.lib user32.lib uuid.lib oleaut32.lib shell32.lib || exit /b 1
echo Built %CD%\out\build.exe for %VSCMD_ARG_TGT_ARCH%