mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
add quick and dirty hack to esp.c to get further with solaris.
add interrupt information to obio.c to boot netbsd git-svn-id: svn://coreboot.org/openbios/openbios-devel@47 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -286,11 +286,21 @@ ob_interrupt_init(unsigned long base, unsigned long offset)
|
||||
push_str("reg");
|
||||
fword("property");
|
||||
|
||||
fword("finish-device");
|
||||
|
||||
regs = map_io(base + offset, sizeof(*regs));
|
||||
regs->set = ~SUN4M_INT_MASKALL;
|
||||
regs->cpu_intregs[0].clear = ~0x17fff;
|
||||
|
||||
// is this really correct?
|
||||
PUSH(regs);
|
||||
fword("encode-int");
|
||||
PUSH(regs);
|
||||
fword("encode-int");
|
||||
fword("encode+");
|
||||
push_str("address");
|
||||
fword("property");
|
||||
|
||||
fword("finish-device");
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user