kernel: tweak USER_SIZE.

Change-Id: Id0a4ad785bbd195e425dd32ca891dc4525bb3e18
Reviewed-on: https://review.haiku-os.org/c/1151
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
Jérôme Duval
2019-03-05 22:38:49 +00:00
committed by waddlesplash
parent 57608a81c5
commit 9e1ce8ed92
7 changed files with 8 additions and 8 deletions
@@ -22,7 +22,7 @@
*/
#define USER_BASE 0x100000
#define USER_BASE_ANY USER_BASE
#define USER_SIZE (0x80000000 - (0x10000 + 0x100000))
#define USER_SIZE (0x80000000 - (0x10000 + USER_BASE))
#define USER_TOP (USER_BASE + (USER_SIZE - 1))
#define KERNEL_USER_DATA_BASE 0x60000000
@@ -22,7 +22,7 @@
*/
#define USER_BASE 0x100000
#define USER_BASE_ANY USER_BASE
#define USER_SIZE (0x80000000 - (0x10000 + 0x100000))
#define USER_SIZE (0x80000000 - (0x10000 + USER_BASE))
#define USER_TOP (USER_BASE + (USER_SIZE - 1))
#define KERNEL_USER_DATA_BASE 0x60000000
@@ -25,7 +25,7 @@
*/
#define USER_BASE 0x100000
#define USER_BASE_ANY USER_BASE
#define USER_SIZE (0x80000000 - (0x10000 + 0x100000))
#define USER_SIZE (0x80000000 - (0x10000 + USER_BASE))
#define USER_TOP (USER_BASE + (USER_SIZE - 1))
#define KERNEL_USER_DATA_BASE 0x60000000
@@ -22,7 +22,7 @@
*/
#define USER_BASE 0x100000
#define USER_BASE_ANY USER_BASE
#define USER_SIZE (0x80000000 - (0x10000 + 0x100000))
#define USER_SIZE (0x80000000 - (0x10000 + USER_BASE))
#define USER_TOP (USER_BASE + (USER_SIZE - 1))
#define KERNEL_USER_DATA_BASE 0x60000000
@@ -32,7 +32,7 @@
// uncanonical address region, it will be caught through a page fault.
#define USER_BASE 0x100000
#define USER_BASE_ANY USER_BASE
#define USER_SIZE (0x800000000000 - (0x200000 + 0x100000))
#define USER_SIZE (0x800000000000 - (0x200000 + USER_BASE))
#define USER_TOP (USER_BASE + (USER_SIZE - 1))
#define KERNEL_USER_DATA_BASE 0x7f0000000000
@@ -25,7 +25,7 @@
// uncanonical address region, it will be caught through a page fault.
#define USER_BASE 0x100000
#define USER_BASE_ANY USER_BASE
#define USER_SIZE (0x800000000000 - (0x200000 + 0x100000))
#define USER_SIZE (0x800000000000 - (0x200000 + USER_BASE))
#define USER_TOP (USER_BASE + (USER_SIZE - 1))
#define KERNEL_USER_DATA_BASE 0x7f0000000000
@@ -47,7 +47,7 @@
// uncanonical address region, it will be caught through a page fault.
#define USER_BASE 0x100000
#define USER_BASE_ANY USER_BASE
#define USER_SIZE (0x800000000000 - (0x200000 + 0x100000))
#define USER_SIZE (0x800000000000 - (0x200000 + USER_BASE))
#define USER_TOP (USER_BASE + (USER_SIZE - 1))
#define KERNEL_USER_DATA_BASE 0x7f0000000000
@@ -84,7 +84,7 @@
*/
#define USER_BASE 0x100000
#define USER_BASE_ANY USER_BASE
#define USER_SIZE (KERNEL_BASE - (0x10000 + 0x100000))
#define USER_SIZE (KERNEL_BASE - (0x10000 + USER_BASE))
#define USER_TOP (USER_BASE + (USER_SIZE - 1))
#define KERNEL_USER_DATA_BASE 0x60000000