projects
/
bootcensus
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
print_num clobbers eax, we need to reload _boot2_size after it returns
[bootcensus]
/
src
/
boot
/
boot.s
diff --git
a/src/boot/boot.s
b/src/boot/boot.s
index
1cb676c
..
ffeb194
100644
(file)
--- a/
src/boot/boot.s
+++ b/
src/boot/boot.s
@@
-48,6
+48,7
@@
boot:
mov $_boot2_size, %eax
call print_num
+ mov $_boot2_size, %eax
mov %eax, %ebx
shr $9, %eax
and $0x1ff, %ebx