thermosphere: safe io copy

This commit is contained in:
TuxSH
2020-03-05 00:54:13 +00:00
parent 36f48748a4
commit fc8a596409
3 changed files with 112 additions and 5 deletions

View File

@@ -152,11 +152,8 @@ vector_entry _synchSp0
eret
_handleSafecpy:
// Set Z flag
mrs x18, spsr_el2
orr x18, x18, #(1 << 30)
msr spsr_el2, x18
mov x18, #0
// Set x16 to 1
mov x16, #1
eret
check_vector_size _synchSp0