uwe ptc.spbu.ru wrote:
> I'm not sure I like it. cpu_configure() is expected to
turn the
> interrupts on, and this patch breaks this assumption
made in MI code.
But in fact currently there is no code which assumes device
interrupts
are enabled between cpu_configure(9) and cpu_initclocks(9)
in
src/sys/kern/subr_autoconf.c and src/sys/kern/kern_clock.c.
(only MD function around there is cpu_initclocks(9) itself)
There are some architectures which can't disable only clock
interrupt with the sane way (see mips CPU_INT5), but should
we
still enable all other interrupts in cpu_configure(9) only
for the assumption?
---
Izumi Tsutsui
|