aboutsummaryrefslogtreecommitdiffstats
path: root/include/gbos.inc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/gbos.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gbos.inc b/include/gbos.inc
index e15f7cb..7919bd6 100644
--- a/include/gbos.inc
+++ b/include/gbos.inc
@@ -48,6 +48,7 @@ DEF KSTACK_TOP EQU $D000 ; kernel stack top (grows down into WRAM0)
DEF MAX_PROCS EQU 8
DEF NUM_RAM_BANKS EQU 4 ; MBC5 cart RAM banks available (-r 3 = 32 KiB)
DEF KSTACK_TOP2 EQU $D000 ; kernel stack top reused for syscalls (fork)
+DEF INIT_PID EQU 1 ; pid of the init task (orphan reaper)
; process states
DEF PS_FREE EQU 0
@@ -88,7 +89,6 @@ DEF SYS_MAX EQU 12
; -----------------------------------------------------------------------------
; Program table indices (see programs.asm). exec() takes one of these in B.
; -----------------------------------------------------------------------------
-DEF PROG_PING EQU 0
-DEF PROG_PONG EQU 1
+DEF PROG_WORKER EQU 0
ENDC