diff options
author | Damien Zammit <damien@zamaudio.com> | 2023-02-19 02:24:03 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-02-19 23:29:37 +0100 |
commit | 8d704aa6804069ba334bb0fb9e2154f22f7c4569 (patch) | |
tree | 350df9c66ef21efb5e85cd5cb928ea01667d82fa /i386 | |
parent | 1b8d96d72b6978b6d2b0f734f1307d6c054e1a0d (diff) | |
download | gnumach-8d704aa6804069ba334bb0fb9e2154f22f7c4569.tar.gz gnumach-8d704aa6804069ba334bb0fb9e2154f22f7c4569.tar.bz2 gnumach-8d704aa6804069ba334bb0fb9e2154f22f7c4569.zip |
model_dep: Call acpi_apic_init if APIC defined
Fixes boot --enable-ncpus=1 with --enable-apic configuration
albeit the keyboard is stuck and network cannot be accessed.
Error messages:
Timeout reached while wating for return value
/bin/console: Could not receive return value from daemon process: Connection timed out
Message-Id: <20230219022351.25767-1-damien@zamaudio.com>
Diffstat (limited to 'i386')
-rw-r--r-- | i386/i386at/model_dep.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/i386/i386at/model_dep.c b/i386/i386at/model_dep.c index 5bde5d17..baff8da1 100644 --- a/i386/i386at/model_dep.c +++ b/i386/i386at/model_dep.c @@ -162,9 +162,10 @@ void machine_init(void) #ifdef MACH_HYP hyp_init(); #else /* MACH_HYP */ - -#if (NCPUS > 1) +#if defined(APIC) acpi_apic_init(); +#endif +#if (NCPUS > 1) smp_init(); #endif #if defined(APIC) |