Add interrupt controller emulation

This commit is contained in:
Connor McLaughlin committed 2019-09-17 16:26:00 +10:00
1 parent c615e007c0
commit 2128a2984b
13 files changed
+271 -19

No files matched your search

+12
View File
@@ -80,6 +80,18 @@ struct BitField
return *this;
}
BitField& operator&=(DataType rhs)
{
SetValue(GetValue() & rhs);
return *this;
}
BitField& operator|=(DataType rhs)
{
SetValue(GetValue() & rhs);
return *this;
}
BitField& operator^=(DataType rhs)
{
SetValue(GetValue() ^ rhs);