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:
SED4906
2026-03-28 20:04:38 +00:00
committed by waddlesplash
parent 91f3ac4f96
commit 634373e466
+1 -1
View File
@@ -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