diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-12-05 16:49:23 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-12-05 16:49:23 +0000 |
commit | d57c04e1f3a2c704d3479f85de706ad7de65b8b0 (patch) | |
tree | c950d8370cad1952893da1a3331be486a4c9d308 /c/src/lib/libbsp/i386/pc386/start | |
parent | 2000-12-05 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-d57c04e1f3a2c704d3479f85de706ad7de65b8b0.tar.bz2 |
2000-12-05 Eric Valette <valette@crf.canon.fr>
* console/inch.c, console/keyboard.c, console/pc_keyb.c,
console/vt.c, include/bsp.h: Correct incorrect interrupt level
handling in new keyboard management code. Correct
BSP_poll_char initialization routine.
* start/start.S, startup/bspstart.c: Correct when the video is
initialized.
* timer/timer.c (Calibrate_1ms_loop): Address problem where this
did not work correctly on all PC speeds. The new calibrate routine
has been tested on Pentium 166, pentium II 200, pentium III
300 Mhz and does work as expected.
Diffstat (limited to 'c/src/lib/libbsp/i386/pc386/start')
-rw-r--r-- | c/src/lib/libbsp/i386/pc386/start/start.S | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/start/start.S b/c/src/lib/libbsp/i386/pc386/start/start.S index 33af08e17c..09aa589807 100644 --- a/c/src/lib/libbsp/i386/pc386/start/start.S +++ b/c/src/lib/libbsp/i386/pc386/start/start.S @@ -145,12 +145,21 @@ SYM (zero_bss): shrl ecx xorl eax, eax # value to clear out memory repne # while ecx != 0 - stosl # clear a long in the bss - + stosl + # clear a long in the bss + +/*-------------------------------------------------------------------+ +| Initialize the video because zero_bss has cleared initVideo parameters +| if it was called earlier +| So from now we can use printk ++-------------------------------------------------------------------*/ + call _IBMPC_initVideo + /*---------------------------------------------------------------------+ | Check CPU type. Enable Cache and init coprocessor if needed. +---------------------------------------------------------------------*/ call checkCPUtypeSetCr0 + /*---------------------------------------------------------------------+ | Transfer control to User's Board Support Package +---------------------------------------------------------------------*/ |