mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-17 06:38:28 +00:00
committed by
Christian Helmuth
parent
03b8e70d3f
commit
db329b02b5
@ -43,8 +43,8 @@ namespace Genode {
|
||||
*/
|
||||
Mapping(addr_t dst_addr, addr_t map_addr,
|
||||
Cache_attribute c, bool io_mem,
|
||||
unsigned size_log2 = PAGE_SIZE_LOG2,
|
||||
bool rw = true)
|
||||
unsigned size_log2,
|
||||
bool rw, bool executable)
|
||||
:
|
||||
_dst_addr(dst_addr), _core_local_addr(map_addr),
|
||||
_attr(c), _size_log2(size_log2), _rw(rw)
|
||||
@ -125,6 +125,11 @@ namespace Genode {
|
||||
*/
|
||||
bool write_fault() const { return _fault_type & ERR_W; }
|
||||
|
||||
/**
|
||||
* Return true if fault was a non-executable fault
|
||||
*/
|
||||
bool exec_fault() const { return false; }
|
||||
|
||||
/**
|
||||
* Return true if last fault was an exception
|
||||
*/
|
||||
|
Reference in New Issue
Block a user