runtime_loader: define MAX_PAGE_SIZE correctly on arm64
This fixes an issue where map_image returns B_BAD_DATA. Change-Id: I11efbb1c1d740474f62c37c0069a76b97aeb8bc4 Reviewed-on: https://review.haiku-os.org/c/haiku/+/10602 Reviewed-by: Sam Roberts <[email protected]> Tested-by: Commit checker robot <[email protected]> Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
// page segment alignment.
|
||||
# define RLD_PROGRAM_BASE 0x600000
|
||||
# define MAX_PAGE_SIZE 0x200000
|
||||
#elif __arm__
|
||||
#elif defined(__arm__) || defined(__aarch64__)
|
||||
# define RLD_PROGRAM_BASE 0x200000
|
||||
# define MAX_PAGE_SIZE 0x10000
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user