bug fixes, etc.

This commit is contained in:
Ronald G. Minnich 2003-04-30 18:09:06 +00:00
commit 6b9ddebef3
5 changed files with 18 additions and 7 deletions

View file

@ -4,7 +4,7 @@ object hardwaremain.o
object pirq_routing.o HAVE_PIRQ_TABLE
object vgabios.o CONFIG_VGABIOS
object idt.o CONFIG_REALMODE_IDT
object pci-irq.c CONFIG_PCIBIOS_IRQ
#object pci-irq.c CONFIG_PCIBIOS_IRQ
object assignirq.c CONFIG_ASSIGNIRQ
option CONFIG_LOGICAL_CPUS=1
option CONFIG_PCIBIOS_IRQ=0

View file

@ -15,6 +15,7 @@ static char rcsid[] = "$Id$";
#include <subr.h>
#include <string.h>
#include <pc80/mc146818rtc.h>
#include <cpu/p6/msr.h>
#ifdef SERIAL_CONSOLE
#include <serial_subr.h>
@ -89,9 +90,17 @@ void error(char errmsg[])
*/
void post_code(uint8_t value)
{
#ifdef SERIAL_POST
#if (SERIAL_POST_TSC==1)
unsigned int tsc_high, tsc_low;
rdtsc(tsc_low, tsc_high);
printk_info("0x%x%xPOST: 0x%02x\n", tsc_high, tsc_low, value);
#endif
#if (SERIAL_POST==1)
printk_info("POST: 0x%02x\n", value);
#elsif !define(NO_POST)
#endif
#if !defined(NO_POST)
outb(value, 0x80);
#endif
}

View file

@ -241,8 +241,9 @@ expr USE_OPTION_TABLE=!USE_FALLBACK_IMAGE
## Compute the location and size of where this firmware image
## (linuxBIOS plus bootloader) will live in the boot rom chip.
##
expr ROM_SECTION_SIZE =(USE_FALLBACK_IMAGE*65536)+(USE_NORMAL_IMAGE*(ROM_SIZE - 65536))
expr ROM_SECTION_OFFSET=(USE_FALLBACK_IMAGE*(ROM_SIZE-65536))+(USE_NORMAL_IMAGE*0)
option FALLBACK_IMAGE_SIZE=65536
expr ROM_SECTION_SIZE =(USE_FALLBACK_IMAGE*FALLBACK_IMAGE_SIZE)+(USE_NORMAL_IMAGE*(ROM_SIZE - FALLBACK_IMAGE_SIZE))
expr ROM_SECTION_OFFSET=(USE_FALLBACK_IMAGE*(ROM_SIZE-FALLBACK_IMAGE_SIZE))+(USE_NORMAL_IMAGE*0)
##

View file

@ -4,8 +4,8 @@
# continuation, if needed, will be via the \ at the end of a line
# comments are indicated by a '#' as the first character.
# the keywords are case-INSENSITIVE
owner: Ron Minnich
email: rminnich@lanl.gov
owner: Felix Kloeckner
email: root@hamburg.de
#status: One of unsupported, unstable, stable
status: unstable
explanation:

View file

@ -1,5 +1,6 @@
object keyboard.o
object mc146818rtc.o CONFIG_MC146818RTC
option CONFIG_MC146818RTC=1
object isa-dma.o
object i8259.o CONFIG_I8259
object udelay_timer2.o CONFIG_UDELAY_TIMER2