nova: use kernel branch r10

- Reordering and cleanup of commits to form a common branch shared by others
- Add right bit to deny portal usage for cross-core IPC
- avoid GP when switching on AMD SVM if disabled by UEFI/BIOS

Issue #2854
This commit is contained in:
Alexander Boettcher 2018-05-13 12:08:32 +02:00 committed by Norman Feske
parent 055862c0eb
commit 3148b67288
4 changed files with 4 additions and 3 deletions

View File

@ -442,6 +442,7 @@ namespace Nova {
RIGHT_EC_RECALL = 0x1U,
RIGHT_PT_CALL = 0x2U,
RIGHT_PT_CTRL = 0x1U,
RIGHT_PT_XCPU = 0x10U,
RIGHT_SM_UP = 0x1U,
RIGHT_SM_DOWN = 0x2U
};

View File

@ -1 +1 @@
0878c653b740359a4123ac0b9a79ce5df26f9251
2d7d4d9f37444150bfe0b90b8f63f47b76940ff2

View File

@ -4,7 +4,7 @@ DOWNLOADS := nova.git
# r9 branch - use r9_debug for more verbose kernel messages
URL(nova) := https://github.com/alex-ab/NOVA.git
REV(nova) := 9b24eb4fa7d45249ca409720164902ec483a3134
REV(nova) := 84676254ad6d471cd7716d193e026ed47c517e41
DIR(nova) := src/kernel/nova
PATCHES := $(sort $(wildcard $(REP_DIR)/patches/*.patch))

View File

@ -48,7 +48,7 @@ static uint8_t map_thread_portals(Pager_object &pager,
/* xxx better map portals with solely pt_call and sm separately ? xxx */
addr_t const rights = Obj_crd::RIGHT_EC_RECALL |
Obj_crd::RIGHT_PT_CTRL | Obj_crd::RIGHT_PT_CALL |
Obj_crd::RIGHT_PT_CTRL | Obj_crd::RIGHT_PT_CALL | Obj_crd::RIGHT_PT_XCPU |
Obj_crd::RIGHT_SM_UP | Obj_crd::RIGHT_SM_DOWN;
Obj_crd const source_initial_caps(source_exc_base, NUM_INITIAL_PT_LOG2,