genode/repos/base-hw/src
Norman Feske a4c59c03e3 core: rework page-fault resolution
The change "core: allow offset-attached managed dataspaces" addressed a
corner case of the use of nested region maps. Apparently, this change
negatively affects other scenarios (tool_chain_auto).

In order to confidently cover all the differnt situations, this patch
reworks the page-fault resolution code for improved clarity and safety,
by introducing dedicated result types, reducing the use of basic types,
choosing expressive names, and fostering constness.

It also introduces a number of 'print' hooks that greatly ease manual
instrumentation and streamlines the error messages printed by core.
Those messages no longer appear when a user-level page-fault handler
is reistered for the faulted-at region map. So the monitor component
produces less noise on the attempt to dump non-existing memory.

Issue #4917
Fixes #4920
2023-06-16 11:24:26 +02:00
..
bootstrap hw: fix build errors with -std=gnu++20 2023-05-30 12:03:31 +02:00
core core: rework page-fault resolution 2023-06-16 11:24:26 +02:00
include base-hw: export Intel TSC platform information 2023-05-30 12:13:33 +02:00
lib base-hw: virt: implement support for SVM 2023-05-30 12:13:34 +02:00
test hw: fix build errors with -std=gnu++20 2023-05-30 12:03:31 +02:00
timer/hw base: avoid implicit conversions 2021-12-17 15:04:44 +01:00