|
AquilaOS documentation
How it works, and its code
|
A processor, and what runs on it. More...
#include <cpu.h>
Data Fields | |
| struct cpu * | self |
| int | id |
| struct thread * | thread |
| int | idle |
| int | kicked |
| struct arch_cpu | arch |
A processor, and what runs on it.
Each CPU finds its own with curcpu().
| struct arch_cpu cpu::arch |
Definition at line 17 of file cpu.h.
Referenced by aarch64_init(), ap_boot(), arch_cpu_kick(), arch_lock_taken(), arch_thread_kill(), tlb_shootdown(), x86_apic_setup(), x86_cpu_init(), x86_gdt_setup(), and x86_smp_init().
| int cpu::id |
Definition at line 13 of file cpu.h.
Referenced by aarch64_init(), x86_cpu_init(), and x86_smp_init().
| int cpu::idle |
Definition at line 15 of file cpu.h.
Referenced by sched_cpu_wake(), sched_idle_wakeup(), and x86_ap_start().
| int cpu::kicked |
Definition at line 16 of file cpu.h.
Referenced by sched_cpu_wake().
| struct cpu* cpu::self |
Definition at line 12 of file cpu.h.
Referenced by aarch64_init(), and x86_gdt_setup().