Re: [PATCH 6/6] ioapic support switchable back to pic

2021-03-28 Thread Samuel Thibault
Damien Zammit, le dim. 28 mars 2021 17:03:20 +1100, a ecrit: > diff --git a/i386/i386at/interrupt.S b/i386/i386at/interrupt.S > index 23a2e582..bbf08045 100644 > --- a/i386/i386at/interrupt.S > +++ b/i386/i386at/interrupt.S Also, it'd be good to also modify & test x86_64/interrupt.S, otherwise the

Re: [PATCH 6/6] ioapic support switchable back to pic

2021-03-28 Thread Samuel Thibault
Damien Zammit, le dim. 28 mars 2021 17:03:20 +1100, a ecrit: > diff --git a/i386/configfrag.ac b/i386/configfrag.ac > index bf4af110..9a39ccbb 100644 > --- a/i386/configfrag.ac > +++ b/i386/configfrag.ac > @@ -92,6 +92,18 @@ if [ x"$enable_lpr" = xyes ]; then] >AM_CONDITIONAL([enable_lpr], [fal

[PATCH 6/6] ioapic support switchable back to pic

2021-03-27 Thread Damien Zammit
Use --enable-ncpus=x where x > 1 for SMP+APIC support. Use --enable-apic=no for no SMP and old PIC support. --- i386/Makefrag.am | 13 +- i386/configfrag.ac | 12 + i386/i386/apic.h | 4 +- i386/i386/fpu.c | 2 +- i386/i386/irq.