diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-10-26 01:35:36 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-10-26 01:35:36 +0000 |
commit | 99826740e28d6e81ea6d3cca558e0866da9ab7d3 (patch) | |
tree | f000816df50770f82ce93e253de4968a6b02516c /c/src/lib/libbsp/i386/pc386/startup/ldsegs.S | |
parent | Patch from Erik Ivanenko <erik.ivanenko@utoronto.ca> to fix some (diff) | |
download | rtems-99826740e28d6e81ea6d3cca558e0866da9ab7d3.tar.bz2 |
Modifications from Erik Ivanenko <erik.ivanenko@utoronto.ca> to add
proper Multiboot signature to pc386 BSP. This enables Grub to
recognize the image.
Diffstat (limited to 'c/src/lib/libbsp/i386/pc386/startup/ldsegs.S')
-rw-r--r-- | c/src/lib/libbsp/i386/pc386/startup/ldsegs.S | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/startup/ldsegs.S b/c/src/lib/libbsp/i386/pc386/startup/ldsegs.S index 24a1042989..375de53df6 100644 --- a/c/src/lib/libbsp/i386/pc386/startup/ldsegs.S +++ b/c/src/lib/libbsp/i386/pc386/startup/ldsegs.S @@ -139,6 +139,8 @@ next_step: outb al, $0x21 /* is cascaded */ call SYM(delay) + movw $0xFFFB, SYM(i8259s_cache) /* set up same values in cache */ + jmp SYM (_establish_stack) # return to the bsp entry code /*-------------------------------------------------------------------------+ @@ -217,4 +219,8 @@ SYM(idtdesc): END_CODE + .section .m_hdr + .long 0x1BADB002 + .long 0 + .long 0xE4524FFE END |