feat: add support for aarch64 timer/interrupts, port MontaukOS userspace
This commit is contained in:
1 parent
8b6379fb7e
commit
8c09ccef66
101 files changed
+1720
-629
No files matched your search
@@ -0,0 +1,40 @@
|
||||
--- a/gcc/config.gcc
|
||||
+++ b/gcc/config.gcc
|
||||
@@ -1189,7 +1189,7 @@
|
||||
esac
|
||||
|
||||
case ${target} in
|
||||
-aarch64*-*-elf | aarch64*-*-fuchsia* | aarch64*-*-rtems*)
|
||||
+aarch64*-*-elf | aarch64*-*-fuchsia* | aarch64*-*-rtems* | aarch64*-*-montauk*)
|
||||
tm_file="${tm_file} elfos.h newlib-stdint.h"
|
||||
tm_file="${tm_file} aarch64/aarch64-elf.h aarch64/aarch64-errata.h aarch64/aarch64-elf-raw.h"
|
||||
tmake_file="${tmake_file} aarch64/t-aarch64"
|
||||
@@ -1204,6 +1204,11 @@
|
||||
tm_file="${tm_file} aarch64/rtems.h rtems.h"
|
||||
tmake_file="${tmake_file} aarch64/t-aarch64-rtems"
|
||||
;;
|
||||
+ aarch64-*-montauk*)
|
||||
+ tm_file="${tm_file} aarch64/montauk.h"
|
||||
+ # As for x86_64-montauk: the libc has no stdint.h of its own.
|
||||
+ use_gcc_stdint=provide
|
||||
+ ;;
|
||||
esac
|
||||
case $target in
|
||||
aarch64_be-*)
|
||||
--- a/libgcc/config.host
|
||||
+++ b/libgcc/config.host
|
||||
@@ -418,6 +418,14 @@
|
||||
tmake_file="${tmake_file} t-dfprules"
|
||||
md_unwind_header=aarch64/aarch64-unwind.h
|
||||
;;
|
||||
+aarch64*-*-montauk*)
|
||||
+ extra_parts="$extra_parts crtbegin.o crtend.o crtfastmath.o"
|
||||
+ tmake_file="${tmake_file} ${cpu_type}/t-aarch64"
|
||||
+ tmake_file="${tmake_file} ${cpu_type}/t-lse t-slibgcc-libgcc"
|
||||
+ tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm"
|
||||
+ tmake_file="${tmake_file} t-dfprules"
|
||||
+ md_unwind_header=aarch64/aarch64-unwind.h
|
||||
+ ;;
|
||||
aarch64*-*-freebsd*)
|
||||
extra_parts="$extra_parts crtfastmath.o"
|
||||
tmake_file="${tmake_file} ${cpu_type}/t-aarch64"
|
||||
Reference in new issue
Block a user