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:
cinap_lenrek 2020-11-21 23:15:19 +01:00
parent 59308f15dd
commit 6dd605dbe2
2 changed files with 2 additions and 2 deletions

View file

@ -24,8 +24,8 @@ void
main(void)
{
mach0init();
trapinit0();
bootargsinit();
trapinit0();
ioinit();
i8250console();
quotefmtinstall();

View file

@ -176,8 +176,8 @@ void
main(void)
{
mach0init();
trapinit0();
bootargsinit();
trapinit0();
ioinit();
i8250console();
quotefmtinstall();