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)
commit6d03839032f21bda2358cfef83ba2412651e6588
treeb1e79a0c4d43e4327d1cc2dc426b4c3b7f1ef50c
parente5fa957e7b717bde4bf69b28e098448cd545696c
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