#2 Disable and clear IRQs.

linux_kernel
closed-accepted
5
2005-01-05
2005-01-05
Laurent Vivier
No

Correct a hang when we boot with EMILE:

Problem: in start_kernel(), kernel hangs on the sti().

Analyse: We can suppose there are pending IRQs when we
unmask them, and
unfortunately handlers are not already installed.
Penguin booter doesn't meet the issue because it makes
a shutdown under MacOS
that should clear IRQs.

Solution: To avoid this case, we must avoid pending
IRQs by disabling/clearing
IRQs when we clear handlers (in mac_init_IRQ).

Tested on the machine where the problem appears, a
Performa 450/LCIII, the
patch corrects the problem.
Tested on a machine where the problem doesn't appear, a
IIci, kernel continues
to work correctly :-P

Discussion

  • Laurent Vivier
    Laurent Vivier
    2005-01-05

    • status: open --> closed-accepted
     
  • Laurent Vivier
    Laurent Vivier
    2005-05-08

    New version, after 840AV problem, need to be tested