arm64: Add initial stubs for stackframe and time
Signed-off-by: Jaroslaw Pelczar <[email protected]> Change-Id: Ie17279a9c17ab8bb7a812fe83d1b668853f96d5c Reviewed-on: https://review.haiku-os.org/c/haiku/+/1858 Reviewed-by: Alex von Gluck IV <[email protected]>
This commit is contained in:
committed by
Adrien Destugues
parent
384d4e935c
commit
1e7069152e
@@ -16,6 +16,8 @@ for architectureObject in [ MultiArchSubDirSetup arm64 ] {
|
|||||||
tls.c
|
tls.c
|
||||||
thread.c
|
thread.c
|
||||||
system_time.c
|
system_time.c
|
||||||
|
time.c
|
||||||
|
get_stack_frame.S
|
||||||
|
|
||||||
generic_atomic.cpp
|
generic_atomic.cpp
|
||||||
generic_stack_trace.cpp
|
generic_stack_trace.cpp
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2019 Haiku, Inc. All Rights Reserved.
|
||||||
|
* Distributed under the terms of the MIT License.
|
||||||
|
*/
|
||||||
|
#include <asm_defs.h>
|
||||||
|
|
||||||
|
/* void* get_stack_frame(void) */
|
||||||
|
FUNCTION(get_stack_frame):
|
||||||
|
mov x0, fp
|
||||||
|
ret
|
||||||
|
FUNCTION_END(get_stack_frame)
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2006, Ingo Weinhold <[email protected]>.
|
||||||
|
* Distributed under the terms of the MIT License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <OS.h>
|
||||||
|
|
||||||
|
#include <arch_cpu.h>
|
||||||
|
#include <libroot_private.h>
|
||||||
|
#include <real_time_data.h>
|
||||||
|
|
||||||
|
|
||||||
|
void
|
||||||
|
__arch_init_time(struct real_time_data *data, bool setDefaults)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
bigtime_t
|
||||||
|
__arch_get_system_time_offset(struct real_time_data *data)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user