Change to loading test_proc instead of recursing init
This commit is contained in:
parent
14f1faedb3
commit
18b27293c9
4
main.68k
4
main.68k
@ -20,7 +20,7 @@ main.elf_header: fo.b Elf32_Ehdr.sizeof
|
|||||||
jsr syscall_println
|
jsr syscall_println
|
||||||
jsr cards_init
|
jsr cards_init
|
||||||
jsr initrd_init
|
jsr initrd_init
|
||||||
move.l #init_name, a0
|
move.l #test_proc_name, a0
|
||||||
jsr initrd_find_file
|
jsr initrd_find_file
|
||||||
move.l d0, d5
|
move.l d0, d5
|
||||||
; Read the ELF header
|
; Read the ELF header
|
||||||
@ -149,7 +149,7 @@ skip_pheader:
|
|||||||
|
|
||||||
section .data,data
|
section .data,data
|
||||||
msg: dc.b "Hello from init",0
|
msg: dc.b "Hello from init",0
|
||||||
init_name: dc.b "init",0
|
test_proc_name: dc.b "test_proc",0
|
||||||
|
|
||||||
section .bss,bss
|
section .bss,bss
|
||||||
tmp_stack: ds.b 32
|
tmp_stack: ds.b 32
|
||||||
|
Loading…
Reference in New Issue
Block a user