ptos/amd64: ps: Add context switching stub
Signed-off-by: Chloe M <chloe@mensia.org>
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* Copyright (c) 2026, Chloe M.
|
||||
* Provided under the BSD-3 clause.
|
||||
*
|
||||
* Description: HAL context management
|
||||
* Author: Chloe M.
|
||||
*/
|
||||
|
||||
#ifndef _HAL_CONTEXT_H_
|
||||
#define _HAL_CONTEXT_H_ 1
|
||||
|
||||
#include <machine/frame.h>
|
||||
#include <ptdef.h>
|
||||
|
||||
/*
|
||||
* Perform a context switch from one thread to another
|
||||
*
|
||||
* @Frame: Current processor context
|
||||
*/
|
||||
VOID HalContextSwitch(TRAP_FRAME *Frame);
|
||||
|
||||
#endif /* !_HAL_CONTEXT_H_ */
|
||||
Reference in New Issue
Block a user