projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5fa957
)
If the kernel image gets too big, "cmp ebx, KERNEL_LOAD_PAGES*8 + 1"
author
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 19 Jan 2005 18:39:39 +0000
(18:39 +0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 19 Jan 2005 18:39:39 +0000
(18:39 +0000)
assembles into 3 more bytes, which causes the image to be too big.
This reduces the length of the panic message to compensate.
src/threads/loader.S
patch
|
blob
|
history
diff --git
a/src/threads/loader.S
b/src/threads/loader.S
index 95ef9d9cbd349c7c104b9acb626b6c0a9fa4c169..11ab7c9e4d1e5f2bb6ddc1753532528ae1a65681 100644
(file)
--- a/
src/threads/loader.S
+++ b/
src/threads/loader.S
@@
-314,7
+314,7
@@
panic: .code16 # We only panic in real mode.
jmp 1b
panicmsg:
- .ascii "
Loader panic!\r\n
"
+ .ascii "
Panic!
"
.byte 0
#### Memory size in 4 kB pages.