mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-18 17:00:26 +00:00
base-foc: Set executable bit when mapping pages
If these are not set, this leads to page faults, during code execution on x86_64, ARM, and x86_32 with PAE enabled.
This commit is contained in:
parent
99421a2a82
commit
2faca15b2b
@ -68,7 +68,7 @@ namespace Genode {
|
||||
//if (write_combined)
|
||||
// _fpage.fp.cache = Fiasco::L4_FPAGE_BUFFERABLE;
|
||||
|
||||
unsigned char rights = _rw ? Fiasco::L4_FPAGE_RW : Fiasco::L4_FPAGE_RO;
|
||||
unsigned char rights = _rw ? Fiasco::L4_FPAGE_RWX : Fiasco::L4_FPAGE_RX;
|
||||
return Fiasco::l4_fpage(_src_addr, _log2size, rights);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user