Fixed x86 GCC2 build.

This commit is contained in:
Alex Smith 2012-06-25 13:28:28 +01:00
parent 6f6d78e877
commit f69dd487b1
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
#define KERNEL_TOP (KERNEL_BASE + (KERNEL_SIZE - 1))
#ifdef _BOOT_MODE
# define KERNEL_BASE_64BIT 0xffffffff80000000
# define KERNEL_BASE_64BIT 0xffffffff80000000ll
#endif
/* User space layout is a little special:

View File

@ -20,7 +20,7 @@
// The whole kernel address space is the top 512GB of the address space.
#ifdef _BOOT_MODE
# define KERNEL_BASE 0x80000000
# define KERNEL_BASE_64BIT 0xffffffff80000000
# define KERNEL_BASE_64BIT 0xffffffff80000000ll
#else
# define KERNEL_BASE 0xffffff8000000000
#endif