-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This includes `monika_linux`, `haiku_loader`, and `hyclone_server`. `build_hprefix.sh` will not work yet since arm64 packages are not available on HaikuPorts yet. HPREFIXes themselves will also not work due to errors/stubs in Haiku's own `runtime_loader`.
- Loading branch information
1 parent
b80e6d9
commit b759b73
Showing
13 changed files
with
128 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,5 +14,5 @@ | |
build/** | ||
**/*.o | ||
**/*.a | ||
**/*.so | ||
**/haiku_include/** | ||
**/*.so* | ||
**/haiku_include/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* | ||
* Copyright 2019 Haiku, Inc. All Rights Reserved. | ||
* Distributed under the terms of the MIT License. | ||
*/ | ||
|
||
#ifndef _SYSTEM_ARCH_ARM64_COMMPAGE_DEFS_H | ||
#define _SYSTEM_ARCH_ARM64_COMMPAGE_DEFS_H | ||
|
||
#ifndef _SYSTEM_COMMPAGE_DEFS_H | ||
# error Must not be included directly. Include <commpage_defs.h> instead! | ||
#endif | ||
|
||
#define COMMPAGE_ENTRY_ARM64_THREAD_EXIT (COMMPAGE_ENTRY_FIRST_ARCH_SPECIFIC + 0) | ||
|
||
#endif /* _SYSTEM_ARCH_ARM64_COMMPAGE_DEFS_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* Copyright 2019 Haiku, Inc. All Rights Reserved. | ||
* Distributed under the terms of the MIT License. | ||
*/ | ||
#ifndef _ARCH_ARM64_DEBUGGER_H | ||
#define _ARCH_ARM64_DEBUGGER_H | ||
|
||
struct arm64_debug_cpu_state { | ||
unsigned long x[30]; | ||
unsigned long lr; | ||
unsigned long sp; | ||
unsigned long elr; | ||
unsigned int spsr; | ||
} __attribute__((aligned(16))); | ||
|
||
#endif // _ARCH_ARM_DEBUGGER_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
* Copyright 2019 Haiku, Inc. All Rights Reserved. | ||
* Distributed under the terms of the MIT License. | ||
*/ | ||
#ifndef _KERNEL_ARCH_REAL_TIME_DATA_H | ||
#define _KERNEL_ARCH_REAL_TIME_DATA_H | ||
|
||
#include "BeDefs.h" | ||
|
||
struct arm64_real_time_data { | ||
vint64 system_time_offset; | ||
}; | ||
|
||
struct arch_real_time_data { | ||
struct arm64_real_time_data data[2]; | ||
vint32 system_time_conversion_factor; | ||
vint32 version; | ||
}; | ||
|
||
#endif /* _KERNEL_ARCH_REAL_TIME_DATA_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* | ||
* Copyright 2019 Haiku, Inc. All Rights Reserved. | ||
* Distributed under the terms of the MIT License. | ||
*/ | ||
|
||
#ifndef _ARCH_ARM64_SIGNAL_H_ | ||
#define _ARCH_ARM64_SIGNAL_H_ | ||
|
||
|
||
/* | ||
* Architecture-specific structure passed to signal handlers | ||
*/ | ||
|
||
#if defined(__aarch64__) | ||
struct vregs | ||
{ | ||
unsigned long x[30]; | ||
unsigned long lr; | ||
unsigned long sp; | ||
unsigned long elr; | ||
unsigned long spsr; | ||
__uint128_t fp_q[32]; | ||
unsigned int fpsr; | ||
unsigned int fpcr; | ||
}; | ||
#endif /* defined(__aarch64__) */ | ||
|
||
|
||
#endif /* _ARCH_ARM64_SIGNAL_H_ */ |