PatchworkOS
966e257
A non-POSIX operating system.
Theme:
Default
Round
Robot
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
*/
29
typedef
uint16_t
cpuid_t
;
30
31
/** @} */
cpuid_t
uint16_t cpuid_t
Type used to identify a CPU.
Definition
cpu_id.h:29
stdint.h
uint16_t
__UINT16_TYPE__ uint16_t
Definition
stdint.h:13
include
kernel
cpu
cpu_id.h
Generated on Mon Dec 15 2025 21:55:53 for PatchworkOS by
1.9.8