Add Port namespace for DMA
This commit is contained in:
parent
f30716767f
commit
27716c020c
|
@ -3,6 +3,7 @@
|
|||
#include "IOPort.hpp"
|
||||
|
||||
namespace DMA {
|
||||
namespace Port {
|
||||
struct __no_align MADR : public ComplexBitMap<uint32_t> {
|
||||
__io_port_inherit_complex_bit_map(MADR);
|
||||
|
||||
|
@ -138,5 +139,6 @@ namespace DMA {
|
|||
__declare_io_port_global(DMAControlRegister, DPCR, 0x1F8010F0);
|
||||
__declare_io_port_global(DMAInterruptRegister, DICR, 0x1F8010F4);
|
||||
}
|
||||
}
|
||||
|
||||
#endif //!__JABYENGINE_DMA_IO_HPP__
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
namespace SPU {
|
||||
using namespace Port;
|
||||
using namespace DMA;
|
||||
using namespace DMA::Port;
|
||||
|
||||
static void clear_key() {
|
||||
Key::off.write(UI32_MAX);
|
||||
|
|
Loading…
Reference in New Issue