fcfe1dfb4a
Signed-off-by: Chloe M <chloe@mensia.org>
26 lines
458 B
C
26 lines
458 B
C
/*
|
|
* Copyright (c) 2026, Chloe M.
|
|
* Provided under the BSD-3 clause.
|
|
*
|
|
* Description: Thread control block
|
|
* Author: Chloe M.
|
|
*/
|
|
|
|
#ifndef _MACHINE_TCB_H_
|
|
#define _MACHINE_TCB_H_ 1
|
|
|
|
#include <ptdef.h>
|
|
#include <machine/frame.h>
|
|
|
|
/*
|
|
* The thread control block contains machine specific thread
|
|
* information.
|
|
*
|
|
* @FrameSnapshot: Processor state snapshot
|
|
*/
|
|
typedef struct {
|
|
TRAP_FRAME FrameSnapshot;
|
|
} TCB;
|
|
|
|
#endif /* !_MACHINE_TCB_H_ */
|