more solaris..

git-svn-id: svn://coreboot.org/openbios/openbios-devel@52 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Stefan Reinauer
2006-06-07 08:49:15 +00:00
parent ba11cd63b6
commit e52e8b2ac7

View File

@@ -352,11 +352,17 @@ ob_counter_init(unsigned long base, unsigned long offset)
push_str("reg");
fword("property");
fword("finish-device");
regs = map_io(base + offset, sizeof(*regs));
regs->l10_timer_limit = (((1000000/100) + 1) << 10);
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;