This commit is contained in:
2024-09-29 17:27:23 +02:00
parent 5292b7bf9f
commit 6680c4d5a3
18 changed files with 167 additions and 173 deletions

View File

@@ -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);
}
}