ASM_FUNC(AArch64AllDataCachesOperation)\r
// We can use regs 0-7 and 9-15 without having to save/restore.\r
// Save our link register on the stack. - The stack must always be quad-word aligned\r
- str x30, [sp, #-16]!\r
+ stp x29, x30, [sp, #-16]!\r
+ mov x29, sp\r
mov x1, x0 // Save Function call in x1\r
mrs x6, clidr_el1 // Read EL1 CLIDR\r
and x3, x6, #0x7000000 // Mask out all but Level of Coherency (LoC)\r
L_Finished:\r
dsb sy\r
isb\r
- ldr x30, [sp], #0x10\r
+ ldp x29, x30, [sp], #0x10\r
ret\r
\r
\r