kernel: Fill remaining riscv64 architecture headers
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2019 Haiku, Inc. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _SYSTEM_ARCH_RISCV64_CONFIG_H
|
||||
#define _SYSTEM_ARCH_RISCV64_CONFIG_H
|
||||
|
||||
#warning IMPLEMENT _SYSTEM_ARCH_RISCV64_CONFIG_H
|
||||
|
||||
#define FUNCTION_CALL_PARAMETER_ALIGNMENT_TYPE unsigned int
|
||||
|
||||
#define STACK_GROWS_DOWNWARDS
|
||||
|
||||
//#define ATOMIC_FUNCS_ARE_SYSCALLS
|
||||
#define ATOMIC64_FUNCS_ARE_SYSCALLS
|
||||
|
||||
|
||||
#endif /* _SYSTEM_ARCH_RISCV64_CONFIG_H */
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* Copyright 2010, Ingo Weinhold, [email protected].
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _KERNEL_ARCH_RISCV64_DEBUG_H
|
||||
#define _KERNEL_ARCH_RISCV64_DEBUG_H
|
||||
|
||||
|
||||
#include <SupportDefs.h>
|
||||
|
||||
|
||||
struct arch_debug_registers {
|
||||
};
|
||||
|
||||
|
||||
#endif // _KERNEL_ARCH_RISCV64_DEBUG_H
|
||||
@@ -0,0 +1,12 @@
|
||||
/*
|
||||
* Copyright 2005, Axel Dörfler, [email protected]. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _KERNEL_ARCH_RISCV64_SYSTEM_INFO_H
|
||||
#define _KERNEL_ARCH_RISCV64_SYSTEM_INFO_H
|
||||
|
||||
|
||||
/* nothing to be seen here yet */
|
||||
|
||||
|
||||
#endif /* _KRENEL_ARCH_RISCV64_SYSTEM_INFO_H */
|
||||
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
** Copyright 2003, Axel Dörfler, [email protected]. All rights reserved.
|
||||
** Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _KERNEL_ARCH_RISCV64_VM_TRANSLATION_MAP_H
|
||||
#define _KERNEL_ARCH_RISCV64_VM_TRANSLATION_MAP_H
|
||||
|
||||
#include <arch/vm_translation_map.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void riscv64_translation_map_change_asid(VMTranslationMap *map);
|
||||
|
||||
status_t riscv64_map_address_range(addr_t virtualAddress,
|
||||
phys_addr_t physicalAddress, size_t size);
|
||||
void riscv64_unmap_address_range(addr_t virtualAddress, size_t size);
|
||||
status_t riscv64_remap_address_range(addr_t *virtualAddress, size_t size,
|
||||
bool unmap);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _KERNEL_ARCH_RISCV64_VM_TRANSLATION_MAP_H */
|
||||
Reference in New Issue
Block a user