aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv64/include/tcb.h
blob: a804175d9fdfc66c43945a62285bee69b38ec1b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* SPDX-License-Identifier: copyleft-next-0.3.1 */
/* Copyright 2021 - 2022, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */

#ifndef ARCH_RISCV_TCB_H
#define ARCH_RISCV_TCB_H

/**
 * @file tcb.h
 * riscv64 definitions of arch-specific tcb data.
 */

/**
 * riscv-specific thread handling stuff.
 */
struct arch_tcbd {
	/** Extra scratch register. */
	long scratch;

	struct vmem *rpc_leaf;
	int rpc_idx;
};

#endif /* ARCH_RISCV_TCB_H */