diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-09-30 15:30:09 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-09-30 15:30:09 +0200 |
commit | f91fbbf4b8e6fbe70b792ee52521076f28e1da14 (patch) | |
tree | 6138934cf08e2f8f39bbb8bfff92461b8a72ae0d /c/src/lib/libbsp/i386/pc386/startup | |
parent | SMP: Fix and optimize thread dispatching (diff) | |
download | rtems-f91fbbf4b8e6fbe70b792ee52521076f28e1da14.tar.bz2 |
bsps/i386: Interrupt server support
Diffstat (limited to 'c/src/lib/libbsp/i386/pc386/startup')
-rw-r--r-- | c/src/lib/libbsp/i386/pc386/startup/ldsegs.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/startup/ldsegs.S b/c/src/lib/libbsp/i386/pc386/startup/ldsegs.S index f527ff9ebd..82ff982331 100644 --- a/c/src/lib/libbsp/i386/pc386/startup/ldsegs.S +++ b/c/src/lib/libbsp/i386/pc386/startup/ldsegs.S @@ -147,16 +147,16 @@ next_step: outb al, $0xA1 call SYM(pc386_delay) + /* + * The IMR values must correspond to the initial value of i8259s_cache. + */ movb $0xFF, al /* mask off all interrupts for now */ outb al, $0xA1 call SYM(pc386_delay) movb $0xFB, al /* mask all irq's but irq2 which */ outb al, $0x21 /* is cascaded */ call SYM(pc386_delay) - - movw $0xFFFB, SYM(i8259s_cache) /* set up same values in cache */ - - #endif +#endif jmp SYM (_establish_stack) # return to the bsp entry code /*-------------------------------------------------------------------------+ |