A64: Add ClearExclusiveState method
This commit is contained in:
parent
614840940e
commit
a6432b7e5b
@ -100,6 +100,9 @@ public:
|
|||||||
/// Modify PSTATE
|
/// Modify PSTATE
|
||||||
void SetPstate(std::uint32_t value);
|
void SetPstate(std::uint32_t value);
|
||||||
|
|
||||||
|
/// Clears exclusive state for this core.
|
||||||
|
void ClearExclusiveState();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns true if Jit::Run was called but hasn't returned yet.
|
* Returns true if Jit::Run was called but hasn't returned yet.
|
||||||
* i.e.: We're in a callback.
|
* i.e.: We're in a callback.
|
||||||
|
@ -167,6 +167,10 @@ public:
|
|||||||
jit_state.SetPstate(value);
|
jit_state.SetPstate(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ClearExclusiveState() {
|
||||||
|
jit_state.exclusive_state = 0;
|
||||||
|
}
|
||||||
|
|
||||||
bool IsExecuting() const {
|
bool IsExecuting() const {
|
||||||
return is_executing;
|
return is_executing;
|
||||||
}
|
}
|
||||||
@ -338,6 +342,10 @@ void Jit::SetPstate(u32 value) {
|
|||||||
impl->SetPstate(value);
|
impl->SetPstate(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Jit::ClearExclusiveState() {
|
||||||
|
impl->ClearExclusiveState();
|
||||||
|
}
|
||||||
|
|
||||||
bool Jit::IsExecuting() const {
|
bool Jit::IsExecuting() const {
|
||||||
return impl->IsExecuting();
|
return impl->IsExecuting();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user