Skip to content

Commit

Permalink
Fix for larger page sizes, specifically Raspberry Pi 5. (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan-Myers authored Dec 3, 2023
1 parent 461f6b5 commit ea41a45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libc_impl.c
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,8 @@ void mmap_initial_data_range(uint8_t* mem, uint32_t start, uint32_t end) {
custom_libc_data_addr = end;
#ifdef __APPLE__
end += vm_page_size;
#elif defined RUNTIME_PAGESIZE
end += g_Pagesize;
#else
end += 4096;
#endif /* __APPLE__ */
Expand Down

0 comments on commit ea41a45

Please sign in to comment.