pc, pc64: fix grub multiboot
It appears that our IDT overlaps with the data structures passed from grub in multiboot load. So defer setup of the interrupt table after the multiboot parameters have been processed.
This commit is contained in:
parent
59308f15dd
commit
6dd605dbe2
2 changed files with 2 additions and 2 deletions
|
@ -24,8 +24,8 @@ void
|
|||
main(void)
|
||||
{
|
||||
mach0init();
|
||||
trapinit0();
|
||||
bootargsinit();
|
||||
trapinit0();
|
||||
ioinit();
|
||||
i8250console();
|
||||
quotefmtinstall();
|
||||
|
|
|
@ -176,8 +176,8 @@ void
|
|||
main(void)
|
||||
{
|
||||
mach0init();
|
||||
trapinit0();
|
||||
bootargsinit();
|
||||
trapinit0();
|
||||
ioinit();
|
||||
i8250console();
|
||||
quotefmtinstall();
|
||||
|
|
Loading…
Reference in a new issue