If the kernel image gets too big, "cmp ebx, KERNEL_LOAD_PAGES*8 + 1"
authorBen Pfaff <blp@cs.stanford.edu>
Wed, 19 Jan 2005 18:39:39 +0000 (18:39 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Wed, 19 Jan 2005 18:39:39 +0000 (18:39 +0000)
commit27ee58874e351b0382a8b8bcd6b49fc87fc4c29b
tree1d07453515c27ec8dddd01a25ef4dc9285e5eb51
parent6a5cb864ab116bac72ebccc4fe0cb3b8e6a87b1a
If the kernel image gets too big, "cmp ebx, KERNEL_LOAD_PAGES*8 + 1"
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