chore: enclose everything in namespace matar
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#include "util/bits.hh"
|
||||
#include "util/log.hh"
|
||||
|
||||
namespace matar {
|
||||
Psr::Psr(uint32_t raw)
|
||||
: psr(raw & PSR_CLEAR_RESERVED) {}
|
||||
|
||||
@@ -59,7 +60,9 @@ GET_SET_NTH_BIT_FUNCTIONS(n, 31);
|
||||
#undef GET_SET_NTH_BIT_FUNCTIONS
|
||||
|
||||
bool
|
||||
Psr::condition(Condition cond) const {
|
||||
Psr::condition(arm::Condition cond) const {
|
||||
using arm::Condition;
|
||||
|
||||
switch (cond) {
|
||||
case Condition::EQ:
|
||||
return z();
|
||||
@@ -95,3 +98,4 @@ Psr::condition(Condition cond) const {
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user