added support for instruction ic ivau

This commit is contained in:
emuplz 2020-10-28 22:58:20 +00:00 committed by MerryMage
parent b841ce1df5
commit 8728444af8
10 changed files with 73 additions and 0 deletions

View file

@ -68,6 +68,11 @@ enum class DataCacheOperation {
ZeroByVA,
};
enum class InstructionCacheOperation {
// IC IVAU
InvalidateByVAToPoU,
};
struct UserCallbacks {
virtual ~UserCallbacks() = default;
@ -110,6 +115,7 @@ struct UserCallbacks {
virtual void ExceptionRaised(VAddr pc, Exception exception) = 0;
virtual void DataCacheOperationRaised(DataCacheOperation /*op*/, VAddr /*value*/) {}
virtual void InstructionCacheOperationRaised(InstructionCacheOperation /*op*/, VAddr /*value*/) {}
virtual void InstructionSynchronizationBarrierRaised() {}
// Timing-related callbacks