Linux PowerPC port

This commit is contained in:
Nathaniel Filardo
2020-05-12 17:46:33 +00:00
parent 44e9abe888
commit 37766588de
3 changed files with 46 additions and 1 deletions

View File

@@ -25,7 +25,8 @@ namespace snmalloc
*/
static constexpr uint64_t pal_features = PALPOSIX::pal_features;
static constexpr size_t page_size = 0x1000;
static constexpr size_t page_size =
Aal::aal_name == PowerPC ? 0x10000 : 0x1000;
/**
* OS specific function for zeroing memory.