this change both aligns with the intended future direction for most assembly usage, and makes it possible to add arch-specific setup logic based on hwcaps like we have for 32-bit arm.
6 lines
112 B
C
6 lines
112 B
C
int __set_thread_area(void *p)
|
|
{
|
|
__asm__ __volatile__ ("msr tpidr_el0,%0" : : "r"(p) : "memory");
|
|
return 0;
|
|
}
|