diff options
author | bd <bdunahu@operationnull.com> | 2025-03-05 14:20:15 -0500 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-03-05 14:20:15 -0500 |
commit | e296a3a6ab782cb80b7091324b41bb78db6d3906 (patch) | |
tree | af137790ab40290d1cc4e83f3261370c591512bc /src | |
parent | db158de830e4fd4ab20ef5d357e24147c7a9281d (diff) |
whitespace
Diffstat (limited to 'src')
-rw-r--r-- | src/storage/cache.cc | 12 | ||||
-rw-r--r-- | src/storage/dram.cc | 10 |
2 files changed, 11 insertions, 11 deletions
diff --git a/src/storage/cache.cc b/src/storage/cache.cc index efcaa32..34bdc5f 100644 --- a/src/storage/cache.cc +++ b/src/storage/cache.cc @@ -2,18 +2,18 @@ Cache::Cache(int lines, Storage *lower, int delay) { - this->data = new std::vector<std::array<unsigned int, 4>>; - this->data->resize(lines); - this->lower = lower; - this->delay = delay; - this->lower = nullptr; + this->data = new std::vector<std::array<unsigned int, 4>>; + this->data->resize(lines); + this->lower = lower; + this->delay = delay; + this->lower = nullptr; } Cache::~Cache() { delete this->data; } Response *Cache::write(Accessor accessor, signed int data, int address) { - return new Response(); + return new Response(); } Response *Cache::read(Accessor accessor, int address) { return nullptr; } diff --git a/src/storage/dram.cc b/src/storage/dram.cc index b3b728d..20858cd 100644 --- a/src/storage/dram.cc +++ b/src/storage/dram.cc @@ -3,17 +3,17 @@ Dram::Dram(int lines, int delay) { - this->data = new std::vector<std::array<unsigned int, 4>>; - this->data->resize(lines); - this->delay = delay; - this->lower = nullptr; + this->data = new std::vector<std::array<unsigned int, 4>>; + this->data->resize(lines); + this->delay = delay; + this->lower = nullptr; } Dram::~Dram() { delete this->data; } Response *Dram::write(Accessor accessor, signed int data, int address) { - return new Response(); + return new Response(); } Response *Dram::read(Accessor accessor, int address) { return nullptr; } |