a029f0de5d
Signed-off-by: Chloe M <chloe@mensia.org>
23 lines
417 B
C
23 lines
417 B
C
/*
|
|
* 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_ */
|