diff --git a/headers/private/kernel/arch/sparc/arch_kernel.h b/headers/private/kernel/arch/sparc/arch_kernel.h index 44fa61d97b..5666fff6b5 100644 --- a/headers/private/kernel/arch/sparc/arch_kernel.h +++ b/headers/private/kernel/arch/sparc/arch_kernel.h @@ -8,6 +8,9 @@ #include +// memory layout +#define KERNEL_LOAD_BASE_64_BIT 0xffffffff80000000ll + // Base of the kernel address space. // KERNEL_BASE is the base of the kernel address space. This differs from the // address where the kernel is loaded to: the kernel is loaded in the top 2GB @@ -16,7 +19,6 @@ #define KERNEL_BASE 0xffffff0000000000 #define KERNEL_SIZE 0x10000000000 #define KERNEL_TOP (KERNEL_BASE + (KERNEL_SIZE - 1)) -#define KERNEL_LOAD_BASE 0xffffffff80000000 // Userspace address space layout. diff --git a/headers/private/system/arch/sparc/arch_config.h b/headers/private/system/arch/sparc/arch_config.h index 3cdb67ea26..7e07a3e8ab 100644 --- a/headers/private/system/arch/sparc/arch_config.h +++ b/headers/private/system/arch/sparc/arch_config.h @@ -5,6 +5,7 @@ #ifndef _KERNEL_ARCH_SPARC_CONFIG_H #define _KERNEL_ARCH_SPARC_CONFIG_H +#define FUNCTION_CALL_PARAMETER_ALIGNMENT_TYPE unsigned long #define STACK_GROWS_DOWNWARDS