The manual
ginnOS
The reference: libc, the libraries and the kernel
Loading...
Searching...
No Matches
cpu Struct Reference

the data of one core More...

#include </home/runner/work/ginnOS-docs/ginnOS-docs/ginnOS/src/kernel/cpu/cpu.h>

Data Fields

struct cpu * self
uintptr_t kernel_sp
uintptr_t user_sp
uint32_t index
struct process * current
struct process * switch_prev
struct process * idle
struct process * run_head
struct process * run_tail
uint32_t run_count
uint32_t ticks_remaining
uint32_t balance_ticks
uint32_t pulls
cpu_times_t times
uint32_t apic_id
uintptr_t idle_stack
volatile bool online
struct user_space * active_space
volatile bool tlb_flush_pending
uint32_t tlb_flushes

Detailed Description

the data of one core

Field Documentation

◆ self

struct cpu* cpu::self

◆ kernel_sp

uintptr_t cpu::kernel_sp

◆ user_sp

uintptr_t cpu::user_sp

◆ index

uint32_t cpu::index

◆ current

struct process* cpu::current

◆ switch_prev

struct process* cpu::switch_prev

◆ idle

struct process* cpu::idle

◆ run_head

struct process* cpu::run_head

◆ run_tail

struct process* cpu::run_tail

◆ run_count

uint32_t cpu::run_count

◆ ticks_remaining

uint32_t cpu::ticks_remaining

◆ balance_ticks

uint32_t cpu::balance_ticks

◆ pulls

uint32_t cpu::pulls

◆ times

cpu_times_t cpu::times

◆ apic_id

uint32_t cpu::apic_id

◆ idle_stack

uintptr_t cpu::idle_stack

◆ online

volatile bool cpu::online

◆ active_space

struct user_space* cpu::active_space

◆ tlb_flush_pending

volatile bool cpu::tlb_flush_pending

◆ tlb_flushes

uint32_t cpu::tlb_flushes

The documentation for this struct was generated from the following file: