mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 17:55:20 +07:00
10 lines
153 B
ArmAsm
10 lines
153 B
ArmAsm
|
#include <linux/linkage.h>
|
||
|
|
||
|
ENTRY(tango_smc)
|
||
|
push {lr}
|
||
|
mov ip, r1
|
||
|
dsb /* This barrier is probably unnecessary */
|
||
|
smc #0
|
||
|
pop {pc}
|
||
|
ENDPROC(tango_smc)
|