bsnes/higan/sfc/chip/armdsp/armdsp.hpp

34 lines
617 B
C++
Raw Normal View History

//ARMv3 (ARM6)
struct ArmDSP : Processor::ARM, Coprocessor {
uint8 *programROM;
uint8 *dataROM;
uint8 *programRAM;
#include "registers.hpp"
static void Enter();
void enter();
void step(unsigned clocks);
void bus_idle(uint32 addr);
uint32 bus_read(uint32 addr, uint32 size);
void bus_write(uint32 addr, uint32 size, uint32 word);
uint8 mmio_read(unsigned addr);
void mmio_write(unsigned addr, uint8 data);
void init();
void load();
void unload();
void power();
void reset();
void arm_reset();
void serialize(serializer&);
ArmDSP();
~ArmDSP();
};
extern ArmDSP armdsp;