arm: added option to prepare CPU core (while mid-instruction) for thread reschedule

This commit is contained in:
bunnei 2014-06-01 21:40:10 -04:00
parent 15c7d81706
commit e8a17ee6fd
3 changed files with 11 additions and 0 deletions

View file

@ -89,6 +89,9 @@ public:
*/
virtual void LoadContext(const ThreadContext& ctx) = 0;
/// Prepare core for thread reschedule (if needed to correctly handle state)
virtual void PrepareReschedule() = 0;
/// Getter for num_instructions
u64 GetNumInstructions() {
return num_instructions;