mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-16 22:28:18 +00:00
committed by
Christian Helmuth
parent
03b8e70d3f
commit
db329b02b5
@ -65,7 +65,8 @@ struct Genode::Mapping : Hw::Mapping
|
||||
Cache_attribute cacheable,
|
||||
bool io,
|
||||
unsigned size_log2,
|
||||
bool writeable)
|
||||
bool writeable,
|
||||
bool executable)
|
||||
: Hw::Mapping(phys, virt, 1 << size_log2,
|
||||
{ writeable ? Hw::RW : Hw::RO, Hw::EXEC, Hw::USER,
|
||||
Hw::NO_GLOBAL, io ? Hw::DEVICE : Hw::RAM, cacheable }) {}
|
||||
@ -108,6 +109,11 @@ class Genode::Ipc_pager
|
||||
*/
|
||||
bool write_fault() const;
|
||||
|
||||
/**
|
||||
* Executable permission fault
|
||||
*/
|
||||
bool exec_fault() const { return false; }
|
||||
|
||||
/**
|
||||
* Input mapping data as reply to current page fault
|
||||
*/
|
||||
|
Reference in New Issue
Block a user