mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 04:22:50 +02:00
11 lines
221 B
ArmAsm
11 lines
221 B
ArmAsm
.section .text.__aarch64_read_tp, "ax", %progbits
|
|
.global __aarch64_read_tp
|
|
.type __aarch64_read_tp, %function
|
|
.align 2
|
|
.cfi_startproc
|
|
__aarch64_read_tp:
|
|
mrs x0, tpidrro_el0
|
|
ldr x0, [x0, #0x1F8]
|
|
ret
|
|
.cfi_endproc
|