chore: enclose everything in namespace matar

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2023-09-21 10:52:40 +05:30
parent 1eb4a9545b
commit 1e8966553f
20 changed files with 61 additions and 17 deletions

View File

@@ -1,6 +1,7 @@
#include "bus.hh"
#include <memory>
namespace matar {
Bus::Bus(const Memory& memory)
: memory(std::make_shared<Memory>(memory)) {}
@@ -33,3 +34,4 @@ void
Bus::write_word(size_t address, uint32_t word) {
memory->write_word(address, word);
}
}