REpsp2
PSP2 OS reverse engineering
Loading...
Searching...
No Matches
cp15.h
Go to the documentation of this file.
1#ifndef _SCE_ARM_CP15_H
2#define _SCE_ARM_CP15_H
3
4#ifndef _ASMLANGUAGE
5
6static inline unsigned int sceArmGetDACR(void)
7{
8 return __builtin_arm_mrc(15, 0, 3, 0, 0);
9}
10
11static inline void sceArmSetDACR(unsigned int dacr)
12{
13 __builtin_arm_mcr(15, 0, dacr, 3, 0, 0);
14}
15
16#endif /* _ASMLANGUAGE */
17#endif /* _SCE_ARM_CP15_H */