mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-06 09:31:16 -04:00
thermosphere: add hypervisor timer code
This commit is contained in:
parent
3d3a9925b9
commit
1eb60a2a52
10 changed files with 169 additions and 17 deletions
|
@ -46,7 +46,7 @@
|
|||
static inline u##sz __##op##sz(u##sz n)\
|
||||
{\
|
||||
u##sz res;\
|
||||
__asm__ __volatile__ (#op " %" #regalloc "[res], %" #regalloc "[n]" : [res] "=r" (res) : [n] "r" (n));\
|
||||
__asm__ __volatile__ (STRINGIZE(op) " %" STRINGIZE(regalloc) "[res], %" STRINGIZE(regalloc) "[n]" : [res] "=r" (res) : [n] "r" (n));\
|
||||
return res;\
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue