ptos: ps+hal: Add thread control block init
Signed-off-by: Chloe M <chloe@mensia.org>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* Copyright (c) 2026, Chloe M.
|
||||
* Provided under the BSD-3 clause.
|
||||
*
|
||||
* Description: HAL thread management
|
||||
* Author: Chloe M.
|
||||
*/
|
||||
|
||||
#ifndef _HAL_THREAD_H_
|
||||
#define _HAL_THREAD_H_ 1
|
||||
|
||||
#include <ps/thread.h>
|
||||
#include <ptapi/status.h>
|
||||
#include <ptdef.h>
|
||||
|
||||
/*
|
||||
* Initialize machine specific thread information
|
||||
*
|
||||
* @Thread: Thread to initialize
|
||||
* @Flags: Optional init flags
|
||||
* @Ip: Instruction pointer value to start off with
|
||||
*/
|
||||
PT_STATUS HalThreadInit(THREAD *Thread, ULONG Flags, UPTR Ip);
|
||||
|
||||
#endif /* !_HAL_THREAD_H_ */
|
||||
Reference in New Issue
Block a user