diff options
Diffstat (limited to 'src/thread/aarch64/__set_thread_area.c')
-rw-r--r-- | src/thread/aarch64/__set_thread_area.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/thread/aarch64/__set_thread_area.c b/src/thread/aarch64/__set_thread_area.c new file mode 100644 index 00000000..a348ee77 --- /dev/null +++ b/src/thread/aarch64/__set_thread_area.c @@ -0,0 +1,5 @@ +int __set_thread_area(void *p) +{ + __asm__ __volatile__ ("msr tpidr_el0,%0" : : "r"(p) : "memory"); + return 0; +} |