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.
---
device/intr.c | 80 +++
1 file changed, 80 insertions(+)
diff --git a/device/intr.c b/device/intr.c
index fbb9f495..ac213ecf 100644
--- a/device/intr.c
+++ b/device/intr.c
@@ -12,6 +12,7 @@
* FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE O
Hi,
Here are revised patches, fourth iteration including pit macros.
Damien
Getting closer! :D
Damien Zammit, le mar. 30 mars 2021 01:23:55 +1100, a ecrit:
> + struct intr_list *handler;
> + struct intr_list **prev = &user_intr_handlers[id];
> + user_intr_t *e;
> + spl_t s;
> +
> + s = splhigh();
> +
> + for (handler = user_intr_handlers[id]; handler; handler = hand
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.
---
device/intr.c | 80 +++
1 file changed, 80 insertions(+)
diff --git a/device/intr.c b/device/intr.c
index fbb9f495..dfe07ddc 100644
--- a/device/intr.c
+++ b/device/intr.c
@@ -12,6 +12,7 @@
* FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE O
Hi Samuel,
I have addressed most of your reviewed comments except:
> Do you think we will be able to use lapic along the Linux glue?
Untested so far.
> Also, it'd be good to also modify & test x86_64/interrupt.S, otherwise
> the poor people trying to finish 64bit support will see yet another
> o