summaryrefslogtreecommitdiffstats
path: root/src/core/arm/skyeye_common/armdefs.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-04-03 02:21:11 +0200
committerbunnei <bunneidev@gmail.com>2015-04-03 02:21:11 +0200
commite25ffaba86c5b5a79256faf80c39f7e37343701d (patch)
treee65dfe42e08d9cb1fab735c8a62ec414fabee31e /src/core/arm/skyeye_common/armdefs.h
parentMerge pull request #678 from lioncash/disasm (diff)
parentdyncom: Move CP15 register writing into its own function. (diff)
downloadyuzu-e25ffaba86c5b5a79256faf80c39f7e37343701d.tar
yuzu-e25ffaba86c5b5a79256faf80c39f7e37343701d.tar.gz
yuzu-e25ffaba86c5b5a79256faf80c39f7e37343701d.tar.bz2
yuzu-e25ffaba86c5b5a79256faf80c39f7e37343701d.tar.lz
yuzu-e25ffaba86c5b5a79256faf80c39f7e37343701d.tar.xz
yuzu-e25ffaba86c5b5a79256faf80c39f7e37343701d.tar.zst
yuzu-e25ffaba86c5b5a79256faf80c39f7e37343701d.zip
Diffstat (limited to 'src/core/arm/skyeye_common/armdefs.h')
-rw-r--r--src/core/arm/skyeye_common/armdefs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/arm/skyeye_common/armdefs.h b/src/core/arm/skyeye_common/armdefs.h
index c1a19fecc..d5b0242c3 100644
--- a/src/core/arm/skyeye_common/armdefs.h
+++ b/src/core/arm/skyeye_common/armdefs.h
@@ -357,3 +357,7 @@ extern u32 ARMul_SignedSatQ(s32, u8, bool*);
extern u32 ARMul_UnsignedSatQ(s32, u8, bool*);
extern bool InBigEndianMode(ARMul_State*);
+extern bool InAPrivilegedMode(ARMul_State*);
+
+extern u32 ReadCP15Register(ARMul_State* cpu, u32 crn, u32 opcode_1, u32 crm, u32 opcode_2);
+extern void WriteCP15Register(ARMul_State* cpu, u32 value, u32 crn, u32 opcode_1, u32 crm, u32 opcode_2);