scheduler: Clear exclusive state when switching contexts
This commit is contained in:
parent
f00ca69a81
commit
56cc1c11ec
6 changed files with 11 additions and 0 deletions
|
@ -263,6 +263,8 @@ void ARM_Unicorn::PrepareReschedule() {
|
|||
CHECKED(uc_emu_stop(uc));
|
||||
}
|
||||
|
||||
void ARM_Unicorn::ClearExclusiveState() {}
|
||||
|
||||
void ARM_Unicorn::ClearInstructionCache() {}
|
||||
|
||||
void ARM_Unicorn::RecordBreak(GDBStub::BreakpointAddress bkpt) {
|
||||
|
|
|
@ -31,6 +31,7 @@ public:
|
|||
void SaveContext(ThreadContext& ctx) override;
|
||||
void LoadContext(const ThreadContext& ctx) override;
|
||||
void PrepareReschedule() override;
|
||||
void ClearExclusiveState() override;
|
||||
void ExecuteInstructions(int num_instructions);
|
||||
void Run() override;
|
||||
void Step() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue