PatchworkOS  966e257
A non-POSIX operating system.
Loading...
Searching...
No Matches
cpu_id.h
Go to the documentation of this file.
1#pragma once
2
3#include <stdint.h>
4
5/**
6 * @addtogroup kernel_cpu
7 *
8 * @{
9 */
10
11/**
12 * @brief Maximum number of CPUs supported.
13 */
14#define CPU_MAX UINT8_MAX
15
16/**
17 * @brief ID of the bootstrap CPU.
18 */
19#define CPU_ID_BOOTSTRAP 0
20
21/**
22 * @brief Invalid CPU ID.
23 */
24#define CPU_ID_INVALID UINT16_MAX
25
26/**
27 * @brief Type used to identify a CPU.
28 */
30
31/** @} */
uint16_t cpuid_t
Type used to identify a CPU.
Definition cpu_id.h:29
__UINT16_TYPE__ uint16_t
Definition stdint.h:13