AquilaOS documentation
How it works, and its code
Loading...
Searching...
No Matches
trampoline_data Struct Reference

What an AP needs to reach the kernel, at x86_trampoline_data (the fields are at trampoline.S's TR_ offsets). More...

Data Fields

uint64_t cr0
uint64_t cr3
uint64_t cr4
uint64_t efer
uint64_t entry
uint64_t stack
uint64_t cpu

Detailed Description

What an AP needs to reach the kernel, at x86_trampoline_data (the fields are at trampoline.S's TR_ offsets).

Definition at line 53 of file smp.c.

Field Documentation

◆ cpu

uint64_t trampoline_data::cpu

Definition at line 57 of file smp.c.

Referenced by ap_boot().

◆ cr0

uint64_t trampoline_data::cr0

Definition at line 54 of file smp.c.

Referenced by x86_smp_init().

◆ cr3

uint64_t trampoline_data::cr3

Definition at line 54 of file smp.c.

Referenced by x86_smp_init().

◆ cr4

uint64_t trampoline_data::cr4

Definition at line 54 of file smp.c.

Referenced by x86_smp_init().

◆ efer

uint64_t trampoline_data::efer

Definition at line 54 of file smp.c.

Referenced by x86_smp_init().

◆ entry

uint64_t trampoline_data::entry

Definition at line 55 of file smp.c.

Referenced by ap_boot().

◆ stack

uint64_t trampoline_data::stack

Definition at line 56 of file smp.c.

Referenced by ap_boot().


The documentation for this struct was generated from the following file:
  • kernel/arch/i386/cpu/smp.c