sparc: More missing defines in platform headers

* Kernel is 64 bit, and we won't need a 32bit load base.

Change-Id: I729bab01c8f71083002db061e153b0e5052b9a1c
Reviewed-on: https://review.haiku-os.org/c/1326
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
This commit is contained in:
PulkoMandy 2019-03-28 08:04:29 +01:00 committed by waddlesplash
parent 5ef707395a
commit 3bfbec8336
2 changed files with 4 additions and 1 deletions

View File

@ -8,6 +8,9 @@
#include <arch/cpu.h>
// 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.

View File

@ -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