Sparc support proposal. (#264)
* Sparc support proposal. * Tweaks from feedback. Shift to integer/pointers cast like other archs. Assembly reworks. Note apparently reading the register once is sufficient to provoke a pause in the cpu adding a clobber tough.
This commit is contained in:
@@ -26,7 +26,7 @@ namespace snmalloc
|
||||
static constexpr uint64_t pal_features = PALPOSIX::pal_features;
|
||||
|
||||
static constexpr size_t page_size =
|
||||
Aal::aal_name == PowerPC ? 0x10000 : 0x1000;
|
||||
Aal::aal_name == PowerPC ? 0x10000 : PALPOSIX::page_size;
|
||||
|
||||
/**
|
||||
* OS specific function for zeroing memory.
|
||||
|
||||
Reference in New Issue
Block a user