We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a6a6ed commit d33e7cdCopy full SHA for d33e7cd
src/stage_4.s
@@ -5,6 +5,9 @@
5
# This stage calls into Rust code, passing various values as arguments.
6
7
stage_4:
8
+ mov bx, 0x0
9
+ mov ss, bx # set stack segment
10
+call_load_elf:
11
# call load_elf with kernel start address, size, and memory map as arguments
12
movabs rdi, 0x400000 # move absolute 64-bit to register
13
mov rsi, _kib_kernel_size
0 commit comments