1
// Copyright 2013 Dolphin Emulator Project
2
// Licensed under GPLv2
3
// Refer to the license.txt file included.
11
namespace WII_IPCInterface
14
enum StarletInterruptCause
16
INT_CAUSE_TIMER = 0x1,
20
INT_CAUSE_EHCI = 0x10,
21
INT_CAUSE_OHCI0 = 0x20,
22
INT_CAUSE_OHCI1 = 0x40,
24
INT_CAUSE_WIFI = 0x100,
26
INT_CAUSE_GPIO_BROADWAY = 0x400,
27
INT_CAUSE_GPIO_STARLET = 0x800,
29
INT_CAUSE_RST_BUTTON = 0x40000,
31
INT_CAUSE_IPC_BROADWAY = 0x40000000,
32
INT_CAUSE_IPC_STARLET = 0x80000000
38
void DoState(PointerWrap &p);
40
void Read32(u32& _rReturnValue, const u32 _Address);
41
void Write32(const u32 _Value, const u32 _Address);
43
void UpdateInterrupts(u64 userdata = 0, int cyclesLate = 0);
44
void GenerateAck(u32 _Address);
45
void GenerateReply(u32 _Address);