mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-17 14:48:20 +00:00
hw: do not change x86 paging attributes on fly
Instead of changing the attributes (e.g., Xd bit) of the top-level page-tables, set them to allow everything. Only leafs of the paging hierarchy are set according to the paging attributes given by core. Otherwise, top-level page- table attributes are changed during lifetime, which requires a TLB flush operation (not intended in the semantic of the kernel/core). This led to problems when using the non-executable features introduced by issue #1723 in the recent past.
This commit is contained in:
committed by
Christian Helmuth
parent
c365918b82
commit
d164cbac8c
@ -20,8 +20,6 @@
|
||||
#include <hw/spec/x86_64/cpu.h>
|
||||
#include <hw/spec/x86_64/x86_64.h>
|
||||
|
||||
void Hw::Pml4_table::_invalidate_range(addr_t vo, size_t size) {}
|
||||
|
||||
namespace Bootstrap {
|
||||
struct Pic {};
|
||||
using Cpu = Hw::X86_64_cpu;
|
||||
|
Reference in New Issue
Block a user