projects
/
bootcensus
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b11dcef
)
print_num clobbers eax, we need to reload _boot2_size after it returns
author
John Tsiombikas
<nuclear@member.fsf.org>
Sun, 15 Apr 2018 16:15:37 +0000
(19:15 +0300)
committer
John Tsiombikas
<nuclear@member.fsf.org>
Sun, 15 Apr 2018 16:15:37 +0000
(19:15 +0300)
src/boot/boot.s
patch
|
blob
|
history
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