Run first app from ramdisk!
This commit is contained in:
2
init/.gitignore
vendored
Normal file
2
init/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
*.o
|
||||
*.exe
|
||||
1
init/Makefile
Normal file
1
init/Makefile
Normal file
@@ -0,0 +1 @@
|
||||
include ../user.mk
|
||||
1
init/app.mk
Normal file
1
init/app.mk
Normal file
@@ -0,0 +1 @@
|
||||
app := init.exe
|
||||
5
init/init.S
Normal file
5
init/init.S
Normal file
@@ -0,0 +1,5 @@
|
||||
.global _start
|
||||
_start:
|
||||
pushq $123
|
||||
addq $8, %rsp
|
||||
jmp _start
|
||||
3
init/src.mk
Normal file
3
init/src.mk
Normal file
@@ -0,0 +1,3 @@
|
||||
S += init.S
|
||||
|
||||
o += init.o
|
||||
Reference in New Issue
Block a user