Add interrupt controller emulation

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

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);