From 48d6f0220c15d6e7bf1acdbd5db932a8e581f2f2 Mon Sep 17 00:00:00 2001 From: Alexander Boettcher Date: Wed, 22 May 2024 22:04:23 +0200 Subject: [PATCH] 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. --- repos/base-nova/ports/nova.hash | 2 +- repos/base-nova/ports/nova.port | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/repos/base-nova/ports/nova.hash b/repos/base-nova/ports/nova.hash index fc1569b768..3e6b2740d5 100644 --- a/repos/base-nova/ports/nova.hash +++ b/repos/base-nova/ports/nova.hash @@ -1 +1 @@ -5148b58b2734e171ff8c949e23d3f4499e6189ef +ff82f8cb5bb9b87bd8c05048863c564d05897b2c diff --git a/repos/base-nova/ports/nova.port b/repos/base-nova/ports/nova.port index 01c4c6e0aa..b289528b60 100644 --- a/repos/base-nova/ports/nova.port +++ b/repos/base-nova/ports/nova.port @@ -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))