mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-23 17:17:38 +00:00
Disable super-page I/O mappings on FOC and Fiasco
We disable super-page I/O mappings because our unmap code does not flush local mappings from core and, thus, breaks later re-mappings of different page size. Issue #2547
This commit is contained in:
@ -66,10 +66,13 @@ namespace Genode {
|
||||
}
|
||||
|
||||
|
||||
static inline bool can_use_super_page(addr_t base, size_t size)
|
||||
static inline bool can_use_super_page(addr_t, size_t)
|
||||
{
|
||||
return (base & (get_super_page_size() - 1)) == 0
|
||||
&& (size >= get_super_page_size());
|
||||
/*
|
||||
* We disable super-page I/O mappings as unmap does not flush the local
|
||||
* mapping which breaks later re-mappings of different page size.
|
||||
*/
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user