summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlek Du <alek.du@intel.com>2008-05-22 16:36:16 +0800
committerPatrick Tjin <pattjin@google.com>2014-07-21 20:22:37 -0700
commit07cd7e2cae53fef433bbf0d4d6e29c65b9bdc5b8 (patch)
treeb4b581004cfe63255e8e1302033344016336f68c
parent8900207fdff6ec9fce85e35e414cfb02e95957bc (diff)
downloadbootstub-07cd7e2cae53fef433bbf0d4d6e29c65b9bdc5b8.tar.gz
Minor fix
-rw-r--r--bootstub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstub.c b/bootstub.c
index ea21050..f72386c 100644
--- a/bootstub.c
+++ b/bootstub.c
@@ -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);