kernel/arch/sparc: stubs to get the kernel to link

Add empty implementation of timer, elf, vm, debugger support, to let the
kernel link.

Also add the kernel linker script.

Change-Id: If0795fa6554aea3df1ee544c25cc4832634ffd78
Reviewed-on: https://review.haiku-os.org/c/1108
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
PulkoMandy
2019-03-03 20:56:20 +00:00
committed by waddlesplash
parent e6c9be767b
commit a7c23bb4a9
25 changed files with 1393 additions and 2 deletions
@@ -8,6 +8,7 @@
#include <arch_cpu.h>
#include <kernel.h>
#define IFRAME_TRACE_DEPTH 4
+2 -2
View File
@@ -2,8 +2,8 @@
** Copyright 2001, Travis Geiselbrecht. All rights reserved.
** Distributed under the terms of the NewOS License.
*/
#ifndef _ALPHA_TYPES_H
#define _ALPHA_TYPES_H
#ifndef _SPARC_TYPES_H
#define _SPARC_TYPES_H
typedef unsigned long uint64;
typedef long int64;
@@ -0,0 +1,20 @@
/*
* Copyright 2008, François Revol, [email protected].
* Distributed under the terms of the MIT License.
*/
#ifndef SYSTEM_ARCH_SPARC_ASM_DEFS_H
#define SYSTEM_ARCH_SPARC_ASM_DEFS_H
/* include arch version helpers */
//#include <arch_sparc_version.h>
#define SYMBOL(name) .global name; name
#define SYMBOL_END(name) 1: .size name, 1b - name
#define STATIC_FUNCTION(name) .type name, %function; name
#define FUNCTION(name) .global name; .type name, %function; name
#define FUNCTION_END(name) 1: .size name, 1b - name
#endif /* SYSTEM_ARCH_SPARC_ASM_DEFS_H */