Clean up
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
namespace JabyEngine {
|
||||
namespace GPU_IO {
|
||||
struct GP0IO : public IOPort<GPU_IO_Values::GP0> {
|
||||
struct GP0_IO : public IOPort<GPU_IO_Values::GP0> {
|
||||
void clear_cache() {
|
||||
this->write(GPU_IO_Values::GP0::ClearCache());
|
||||
}
|
||||
@@ -45,7 +45,7 @@ namespace JabyEngine {
|
||||
}
|
||||
};
|
||||
|
||||
struct GP1IO : public IOPort<GPU_IO_Values::GP1> {
|
||||
struct GP1_IO : public IOPort<GPU_IO_Values::GP1> {
|
||||
void reset() {
|
||||
this->write(GPU_IO_Values::GP1::Reset());
|
||||
}
|
||||
@@ -83,9 +83,9 @@ namespace JabyEngine {
|
||||
|
||||
static constexpr size_t FIFOWordSize = 16;
|
||||
|
||||
static auto& GP0 = __new_declare_io_port(GP0IO, 0x1F801810);
|
||||
static const auto& GPUREAD = __new_declare_io_port(GPUREAD_IO, 0x1F801810);
|
||||
static auto& GP1 = __new_declare_io_port(GP1IO, 0x1F801814);
|
||||
static const auto& GPUSTAT = __new_declare_io_port(GPUSTAT_IO, 0x1F801814);
|
||||
static auto& GP0 = __declare_io_port(GP0_IO, 0x1F801810);
|
||||
static const auto& GPUREAD = __declare_io_port(GPUREAD_IO, 0x1F801810);
|
||||
static auto& GP1 = __declare_io_port(GP1_IO, 0x1F801814);
|
||||
static const auto& GPUSTAT = __declare_io_port(GPUSTAT_IO, 0x1F801814);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user