mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-26 09:10:53 +00:00
2008-03-28 Pavel Roskin <proski@gnu.org>
* kern/i386/pc/startup.S: Assert that uncompressed functions don't spill beyond GRUB_KERNEL_MACHINE_RAW_SIZE. * kern/i386/pc/lzo1x.S: Remove all .align directives in the code, as they push parts of the code (error handlers) beyond GRUB_KERNEL_MACHINE_RAW_SIZE. Speed is not as important in this code as correctness and size.
This commit is contained in:
1 parent
77bcd27207
commit
80a3e68b59
3 files changed
+14
-7
No files matched your search
@@ -478,6 +478,11 @@ gate_a20_check_state:
|
||||
|
||||
#include "lzo1x.S"
|
||||
|
||||
/*
|
||||
* The code beyond this point is compressed. Assert that the uncompressed
|
||||
* code fits GRUB_KERNEL_MACHINE_RAW_SIZE.
|
||||
*/
|
||||
. = EXT_C(start) + GRUB_KERNEL_MACHINE_RAW_SIZE
|
||||
|
||||
/*
|
||||
* This call is special... it never returns... in fact it should simply
|
||||
|
||||
Reference in new issue
Block a user