chore: enclose everything in namespace matar
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user