projects
/
bootcensus
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
main kernel startup, libc, console tty, asmops, build flags fixes
[bootcensus]
/
src
/
startup.s
diff --git
a/src/startup.s
b/src/startup.s
index
bff3991
..
4e32389
100644
(file)
--- a/
src/startup.s
+++ b/
src/startup.s
@@
-19,6
+19,7
@@
.extern _bss_start
.extern _bss_end
.extern _bss_start
.extern _bss_end
+ .extern pcboot_main
# zero the BSS section
xor %eax, %eax
# zero the BSS section
xor %eax, %eax
@@
-29,7
+30,13
@@
rep stosl
skip_bss_zero:
rep stosl
skip_bss_zero:
+ call pcboot_main
+ # pcboot_main never returns
+0: cli
+ hlt
+ jmp 0b
+ .global logohack
logohack:
# copy palette
mov $logo_pal, %esi
logohack:
# copy palette
mov $logo_pal, %esi