diff options
author | Alek Du <alek.du@intel.com> | 2008-05-22 16:36:16 +0800 |
---|---|---|
committer | Patrick Tjin <pattjin@google.com> | 2014-07-21 20:22:37 -0700 |
commit | 07cd7e2cae53fef433bbf0d4d6e29c65b9bdc5b8 (patch) | |
tree | b4b581004cfe63255e8e1302033344016336f68c | |
parent | 8900207fdff6ec9fce85e35e414cfb02e95957bc (diff) | |
download | bootstub-07cd7e2cae53fef433bbf0d4d6e29c65b9bdc5b8.tar.gz |
Minor fix
-rw-r--r-- | bootstub.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -82,10 +82,10 @@ static size_t strnlen(const char *s, size_t maxlen) static void setup_boot_params(struct boot_params *bp, struct setup_header *sh) { memset(bp, 0, sizeof (struct boot_params)); - bp->screen_info.orig_video_mode = 1; + bp->screen_info.orig_video_mode = 3; bp->screen_info.orig_video_lines = 25; bp->screen_info.orig_video_cols = 80; - bp->alt_mem_k = 128*1024; // hard coded 128M mem here, since SFI will update it + bp->alt_mem_k = 128*1024; // hard coded 128M mem here, since SFI will override it memcpy(&bp->hdr, sh, sizeof (struct setup_header)); bp->hdr.cmd_line_ptr = CMDLINE_OFFSET; bp->hdr.cmdline_size = strnlen((const char *)CMDLINE_OFFSET,256); |