vm: implement B_RANDOMIZED_IMAGE_ADDRESS address specification

On some 64 bit architectures program and library images have to be mapped in
the lower 2 GB of the address space (due to instruction pointer relative
addressing). Address specification B_RANDOMIZED_IMAGE_ADDRESS ensures that
created area satisfies that requirement.
This commit is contained in:
Pawel Dziepak
2013-04-04 20:54:02 +02:00
parent f697412ff8
commit 65ed4fa908
5 changed files with 31 additions and 10 deletions
+1
View File
@@ -81,6 +81,7 @@ typedef struct area_info {
/* B_ANY_KERNEL_BLOCK_ADDRESS 5 */
#define B_RANDOMIZED_ANY_ADDRESS 6
#define B_RANDOMIZED_BASE_ADDRESS 7
#define B_RANDOMIZED_IMAGE_ADDRESS 8
/* area protection */
#define B_READ_AREA 1