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

@@ -5,6 +5,7 @@
#include <limits>
#include <variant>
using namespace matar;
class CpuFixture {
public:
CpuFixture()
@@ -12,7 +13,8 @@ class CpuFixture {
std::vector<uint8_t>(Header::HEADER_SIZE)))) {}
protected:
void exec(arm::InstructionData data, Condition condition = Condition::AL) {
void exec(arm::InstructionData data,
arm::Condition condition = arm::Condition::AL) {
arm::Instruction instruction(condition, data);
cpu.exec_arm(instruction);
}