summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/core/arm/skyeye_common/armdefs.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/src/core/arm/skyeye_common/armdefs.h b/src/core/arm/skyeye_common/armdefs.h
index d2c901100..a0ec108c7 100644
--- a/src/core/arm/skyeye_common/armdefs.h
+++ b/src/core/arm/skyeye_common/armdefs.h
@@ -219,13 +219,13 @@ enum {
219}; 219};
220 220
221/***************************************************************************\ 221/***************************************************************************\
222* Definitons of things in the emulator * 222* Definitions of things in the emulator *
223\***************************************************************************/ 223\***************************************************************************/
224extern void ARMul_Reset(ARMul_State* state); 224void ARMul_Reset(ARMul_State* state);
225extern ARMul_State* ARMul_NewState(ARMul_State* state); 225ARMul_State* ARMul_NewState(ARMul_State* state);
226 226
227/***************************************************************************\ 227/***************************************************************************\
228* Definitons of things in the co-processor interface * 228* Definitions of things in the co-processor interface *
229\***************************************************************************/ 229\***************************************************************************/
230 230
231enum { 231enum {
@@ -240,7 +240,7 @@ enum {
240}; 240};
241 241
242/***************************************************************************\ 242/***************************************************************************\
243* Definitons of things in the host environment * 243* Definitions of things in the host environment *
244\***************************************************************************/ 244\***************************************************************************/
245 245
246enum ConditionCode { 246enum ConditionCode {
@@ -290,29 +290,29 @@ enum {
290}; 290};
291 291
292 292
293extern bool AddOverflow(ARMword, ARMword, ARMword); 293bool AddOverflow(ARMword, ARMword, ARMword);
294extern bool SubOverflow(ARMword, ARMword, ARMword); 294bool SubOverflow(ARMword, ARMword, ARMword);
295 295
296extern void ARMul_SelectProcessor(ARMul_State*, unsigned); 296void ARMul_SelectProcessor(ARMul_State*, unsigned);
297 297
298extern u32 AddWithCarry(u32, u32, u32, bool*, bool*); 298u32 AddWithCarry(u32, u32, u32, bool*, bool*);
299extern bool ARMul_AddOverflowQ(ARMword, ARMword); 299bool ARMul_AddOverflowQ(ARMword, ARMword);
300 300
301extern u8 ARMul_SignedSaturatedAdd8(u8, u8); 301u8 ARMul_SignedSaturatedAdd8(u8, u8);
302extern u8 ARMul_SignedSaturatedSub8(u8, u8); 302u8 ARMul_SignedSaturatedSub8(u8, u8);
303extern u16 ARMul_SignedSaturatedAdd16(u16, u16); 303u16 ARMul_SignedSaturatedAdd16(u16, u16);
304extern u16 ARMul_SignedSaturatedSub16(u16, u16); 304u16 ARMul_SignedSaturatedSub16(u16, u16);
305 305
306extern u8 ARMul_UnsignedSaturatedAdd8(u8, u8); 306u8 ARMul_UnsignedSaturatedAdd8(u8, u8);
307extern u16 ARMul_UnsignedSaturatedAdd16(u16, u16); 307u16 ARMul_UnsignedSaturatedAdd16(u16, u16);
308extern u8 ARMul_UnsignedSaturatedSub8(u8, u8); 308u8 ARMul_UnsignedSaturatedSub8(u8, u8);
309extern u16 ARMul_UnsignedSaturatedSub16(u16, u16); 309u16 ARMul_UnsignedSaturatedSub16(u16, u16);
310extern u8 ARMul_UnsignedAbsoluteDifference(u8, u8); 310u8 ARMul_UnsignedAbsoluteDifference(u8, u8);
311extern u32 ARMul_SignedSatQ(s32, u8, bool*); 311u32 ARMul_SignedSatQ(s32, u8, bool*);
312extern u32 ARMul_UnsignedSatQ(s32, u8, bool*); 312u32 ARMul_UnsignedSatQ(s32, u8, bool*);
313 313
314extern bool InBigEndianMode(ARMul_State*); 314bool InBigEndianMode(ARMul_State*);
315extern bool InAPrivilegedMode(ARMul_State*); 315bool InAPrivilegedMode(ARMul_State*);
316 316
317extern u32 ReadCP15Register(ARMul_State* cpu, u32 crn, u32 opcode_1, u32 crm, u32 opcode_2); 317u32 ReadCP15Register(ARMul_State* cpu, u32 crn, u32 opcode_1, u32 crm, u32 opcode_2);
318extern void WriteCP15Register(ARMul_State* cpu, u32 value, u32 crn, u32 opcode_1, u32 crm, u32 opcode_2); 318void WriteCP15Register(ARMul_State* cpu, u32 value, u32 crn, u32 opcode_1, u32 crm, u32 opcode_2);