f'd myself over of course, scheduler can now run user programs....

This commit is contained in:
2026-07-04 01:59:19 -05:00
parent 0b98ac0273
commit 17ccde3556
11 changed files with 109 additions and 60 deletions

View File

@@ -1,7 +1,7 @@
.global _start
.section .text
_start:
_start:
xor %ebp, %ebp
push %ebp
mov %esp, %ebp
@@ -13,9 +13,10 @@ _start:
push %ecx
push %ebx
push %eax
1: jmp 1b
call main
push %eax
1: jmp 1b
call exit
1: jmp 1b

View File

@@ -1,6 +1,6 @@
#include <stdio.h>
int main() {
int main(int argc, char *argv[]) {
printf("RockOS booting...\n");
return 0;
}

View File

@@ -21,4 +21,4 @@ $(TARGET): crt0.o main.o ../rocklibc/rlibc.a
clean:
rm -f *.o $(TARGET)
.PHONY: all clean
.PHONY: all clean test