nova: avoid static smp code reservation

Using a segment to reserve the AP (application processor) code page does not
work if the region overlaps with other non-memory types, e.g. bender checks
for the overlapping and denies to boot on such machines.

Without bender, the system boots up fine. So, partially remove the nova commit
"Add segment to reserve AP startup page" and instead apply the idea of
Cyberus's version. Place the AP boot code later during boot and save and
restore the memory before/after SMP bootstrap.
This commit is contained in:
Alexander Boettcher 2024-05-22 22:04:23 +02:00 committed by Christian Helmuth
parent 3c24715d16
commit 48d6f0220c
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
5148b58b2734e171ff8c949e23d3f4499e6189ef
ff82f8cb5bb9b87bd8c05048863c564d05897b2c

View File

@ -4,7 +4,7 @@ DOWNLOADS := nova.git
# r10 branch
URL(nova) := https://github.com/alex-ab/NOVA.git
REV(nova) := 9560bf9fb6a9612147bb2a1a89156ac39951d170
REV(nova) := a19cd2a58d37f6f517e9928fe89a413a1eaa05d2
DIR(nova) := src/kernel/nova
PATCHES := $(sort $(wildcard $(REP_DIR)/patches/*.patch))