ARM_Interface: added SaveContext and LoadContext functions for HLE thread switching
This commit is contained in:
parent
143bba2045
commit
49dc2ce8ac
4 changed files with 65 additions and 37 deletions
|
@ -60,6 +60,18 @@ public:
|
|||
*/
|
||||
u64 GetTicks() const;
|
||||
|
||||
/**
|
||||
* Saves the current CPU context
|
||||
* @param ctx Thread context to save
|
||||
*/
|
||||
void SaveContext(ThreadContext& ctx);
|
||||
|
||||
/**
|
||||
* Loads a CPU context
|
||||
* @param ctx Thread context to load
|
||||
*/
|
||||
void LoadContext(const ThreadContext& ctx);
|
||||
|
||||
protected:
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue