mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
more solaris..
git-svn-id: svn://coreboot.org/openbios/openbios-devel@52 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -352,11 +352,17 @@ ob_counter_init(unsigned long base, unsigned long offset)
|
|||||||
push_str("reg");
|
push_str("reg");
|
||||||
fword("property");
|
fword("property");
|
||||||
|
|
||||||
fword("finish-device");
|
|
||||||
|
|
||||||
regs = map_io(base + offset, sizeof(*regs));
|
regs = map_io(base + offset, sizeof(*regs));
|
||||||
regs->l10_timer_limit = (((1000000/100) + 1) << 10);
|
regs->l10_timer_limit = (((1000000/100) + 1) << 10);
|
||||||
regs->cpu_timers[0].l14_timer_limit = 0;
|
regs->cpu_timers[0].l14_timer_limit = 0;
|
||||||
|
|
||||||
|
PUSH((unsigned long)regs);
|
||||||
|
fword("encode-int");
|
||||||
|
push_str("address");
|
||||||
|
fword("property");
|
||||||
|
|
||||||
|
fword("finish-device");
|
||||||
}
|
}
|
||||||
|
|
||||||
static volatile struct sun4m_intregs *intregs;
|
static volatile struct sun4m_intregs *intregs;
|
||||||
|
|||||||
Reference in New Issue
Block a user