After d5e5dd3401ea0d0475aa830c2171be5b8a72f4fa we can configure and make
gnumach without glibc, however it no longer used -O2 -g in CFLAGS by default.
This reverts that behavior.
---
configure.ac | 4
1 file changed, 4 insertions(+)
diff --git a/configure.ac b/configure.ac
index 8f10b5d5..36
---
i386/i386/apic.c | 87 ++
i386/i386/apic.h | 110 +--
i386/i386/smp.c | 89 +-
i386/i386/smp.h | 7 +++
i386/i386at/ioapic.c | 103 -
---
i386/i386/cpu_number.c | 37 ++
i386/i386/cpuboot.S| 164 +
2 files changed, 201 insertions(+)
create mode 100644 i386/i386/cpu_number.c
create mode 100644 i386/i386/cpuboot.S
diff --git a/i386/i386/cpu_number.c b/i386/i386/cpu_number.c
n
---
i386/i386/apic.c| 6 ++
i386/i386/gdt.c | 47 ++---
i386/i386/gdt.h | 1 +
i386/i386/i386asm.sym | 1 +
i386/i386/idt-gen.h | 4 ++--
i386/i386/idt.c | 25 --
i386/i386/ktss.c| 30
This patch series has been tested on each commit to not break PIC version
without SMP, but refactors some of the SMP code to prepare for another
patch series that will add SMP support.
Damien
This prepares for --enable-ncpus=2 with --disable-apic option
---
i386/i386/apic.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/i386/i386/apic.h b/i386/i386/apic.h
index 10c83c01..0bb1bd73 100644
--- a/i386/i386/apic.h
+++ b/i386/i386/apic.h
@@ -207,6 +207,7 @@ extern volatile ApicLocalU