MOS Source Code
Loading...
Searching...
No Matches
cpu_t Struct Reference

#include <platform.h>

+ Collaboration diagram for cpu_t:

Public Attributes

u32 id
 
thread_tthread
 
ptr_t scheduler_stack
 
mm_context_tmm_context
 
platform_regs_tinterrupt_regs
 the registers of whatever interrupted this CPU
 
platform_cpuinfo_t cpuinfo
 
thread_tidle_thread
 idle thread for this CPU
 

Detailed Description

Definition at line 88 of file platform.h.

Member Data Documentation

◆ id

u32 id

Definition at line 90 of file platform.h.

◆ thread

thread_t* thread

Definition at line 91 of file platform.h.

Referenced by reschedule().

◆ scheduler_stack

ptr_t scheduler_stack

Definition at line 92 of file platform.h.

◆ mm_context

mm_context_t* mm_context

Definition at line 93 of file platform.h.

Referenced by reschedule().

◆ interrupt_regs

platform_regs_t* interrupt_regs

the registers of whatever interrupted this CPU

Definition at line 94 of file platform.h.

◆ cpuinfo

Definition at line 95 of file platform.h.

◆ idle_thread

thread_t* idle_thread

idle thread for this CPU

Definition at line 96 of file platform.h.

Referenced by create_idle_task(), and reschedule().


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