mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 03:45:24 +00:00
parent
34f169293f
commit
102444b82b
@ -232,10 +232,6 @@ class Kernel::Pd : public Object<Pd, MAX_PDS, Pd_ids, pd_ids, pd_pool>
|
||||
Table * const _table;
|
||||
Platform_pd * const _platform_pd;
|
||||
|
||||
/* keep ready memory for size-aligned extra costs at construction */
|
||||
enum { EXTRA_RAM_SIZE = 2 * Table::MAX_COSTS_PER_TRANSLATION };
|
||||
char _extra_ram[EXTRA_RAM_SIZE];
|
||||
|
||||
public:
|
||||
|
||||
/**
|
||||
|
@ -279,10 +279,9 @@ class Genode::Translation_table
|
||||
public:
|
||||
|
||||
enum {
|
||||
SIZE_LOG2 = 14,
|
||||
SIZE = 1 << SIZE_LOG2,
|
||||
ALIGNM_LOG2 = SIZE_LOG2,
|
||||
MAX_COSTS_PER_TRANSLATION = sizeof(Page_table),
|
||||
SIZE_LOG2 = 14,
|
||||
SIZE = 1 << SIZE_LOG2,
|
||||
ALIGNM_LOG2 = SIZE_LOG2,
|
||||
MAX_PAGE_SIZE_LOG2 = 20,
|
||||
MIN_PAGE_SIZE_LOG2 = 12,
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user