Allow space for the kernel's real-mode .bss. Previously we weren't

allowing any space for this, which makes it surprising that bzImage
loading ever worked.
This commit is contained in:
Michael Brown
2007-11-04 04:27:38 +00:00
parent c482fef058
commit 755cb8379d
2 changed files with 9 additions and 1 deletions

View File

@@ -117,6 +117,8 @@ struct bzimage_cmdline {
/** bzImage command line present magic marker value */
#define BZI_CMDLINE_MAGIC 0xa33f
/** Assumed size of real-mode portion (including .bss) */
#define BZI_ASSUMED_RM_SIZE 0x8000
/** Amount of stack space to provide */
#define BZI_STACK_SIZE 0x1000