projects
/
voyage-au-centre-des-fichiers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8239fc
)
Edited comments a tiny bit
author
Amelia Coutard
<eliottulio.coutard@gmail.com>
Sun, 5 Mar 2023 22:43:58 +0000
(23:43 +0100)
committer
Amelia Coutard
<eliottulio.coutard@gmail.com>
Sun, 5 Mar 2023 22:43:58 +0000
(23:43 +0100)
kernel/src/boot.S
patch
|
blob
|
history
diff --git
a/kernel/src/boot.S
b/kernel/src/boot.S
index 22d5857b194905a8c07a50b8d3bfc9c1a745d586..737800ba28862eaf9a7d8a3af03661279825fdc1 100644
(file)
--- a/
kernel/src/boot.S
+++ b/
kernel/src/boot.S
@@
-259,6
+259,7
@@
_start:
add $8, %rdi
loop 1b
+ # Setup new page tables:
mov $PML4T - KERNEL_VMA, %rax
mov %rax, %cr3
@@
-285,7
+286,7
@@
_start:
mov %r15, %rdi
call kmain # With the two arguments popped earlier.
- #
Should never reach that point
, but, oh well.
+ #
kmain should never terminate
, but, oh well.
call _fini
cli