Fixed x86 GCC2 build.
This commit is contained in:
parent
6f6d78e877
commit
f69dd487b1
@ -18,7 +18,7 @@
|
|||||||
#define KERNEL_TOP (KERNEL_BASE + (KERNEL_SIZE - 1))
|
#define KERNEL_TOP (KERNEL_BASE + (KERNEL_SIZE - 1))
|
||||||
|
|
||||||
#ifdef _BOOT_MODE
|
#ifdef _BOOT_MODE
|
||||||
# define KERNEL_BASE_64BIT 0xffffffff80000000
|
# define KERNEL_BASE_64BIT 0xffffffff80000000ll
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* User space layout is a little special:
|
/* User space layout is a little special:
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
// The whole kernel address space is the top 512GB of the address space.
|
// The whole kernel address space is the top 512GB of the address space.
|
||||||
#ifdef _BOOT_MODE
|
#ifdef _BOOT_MODE
|
||||||
# define KERNEL_BASE 0x80000000
|
# define KERNEL_BASE 0x80000000
|
||||||
# define KERNEL_BASE_64BIT 0xffffffff80000000
|
# define KERNEL_BASE_64BIT 0xffffffff80000000ll
|
||||||
#else
|
#else
|
||||||
# define KERNEL_BASE 0xffffff8000000000
|
# define KERNEL_BASE 0xffffff8000000000
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user