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

+1
View File
@@ -0,0 +1 @@
!include $(BASEDIR)\makefile.def
-6
View File
@@ -37,7 +37,6 @@ static void readLine(char* buf, int len) {
buf[pos] = '\0';
}
// Implements the split Command Line operation.
static int splitCommandLine(char* line, char** argv, int maxArgv) {
int argc = 0;
char* p = line;
@@ -62,7 +61,6 @@ static int splitCommandLine(char* line, char** argv, int maxArgv) {
return argc;
}
// Implements the trim operation.
static char* trim(char* s) {
while (*s == ' ') s++;
int len = (int)strlen(s);
@@ -71,7 +69,6 @@ static char* trim(char* s) {
return s;
}
// Implements the cmd help operation.
static void cmd_help() {
print("Available commands:\n"
" help - Show this list\n"
@@ -86,7 +83,6 @@ static void cmd_help() {
" exit - Close the shell\n");
}
// Implements the cmd write operation.
static void cmd_write(const char* args) {
char filename[MAX_CMD]; int i = 0;
while (args[i] != ' ' && args[i] != '\0' && i < MAX_CMD - 1) {
@@ -145,7 +141,6 @@ static void shellSortDirEntries(SHELL_POSIX_DIR_ENTRY* entries, size_t count) {
}
}
// Implements the cmd dir operation.
static void cmd_dir(const char* path) {
const char* target = (path && *path != '\0') ? path : ".";
DIR* d = opendir(target);
@@ -186,7 +181,6 @@ static void cmd_dir(const char* path) {
free(entries);
}
// Implements the cmd type operation.
static void cmd_type(const char* filename) {
int fd = open(filename, 0); // O_RDONLY
if (fd < 0) { print("type: cannot open file\n"); return; }
+7
View File
@@ -0,0 +1,7 @@
TARGETNAME=shell_posix
TARGETPATH=obj
TARGETTYPE=PROGRAM
FLAVOR=POSIX
TARGETLIBS="$(BASEDIR)\bin\posix.lib" "$(BASEDIR)\bin\syscall.lib" "$(BASEDIR)\bin\libc.lib" "$(BASEDIR)\bin\posix_start.lib"
EXTRA_LFLAGS=/ENTRY:PosixStart
SOURCES=@/code/user/apps/shell_posix/shell_posix.c