PatchworkOS
Loading...
Searching...
No Matches
vmm_cpu_ctx_t Struct Reference

Per-CPU VMM context. More...

#include <vmm.h>

Data Fields

list_entry_t entry
 Used by a space to know which CPUs are using it, protected by the space lock.
 
vmm_shootdown_t shootdowns [VMM_MAX_SHOOTDOWN_REQUESTS]
 
uint8_t shootdownCount
 
lock_t lock
 
space_tcurrentSpace
 Will only be accessed by the owner CPU, so no lock.
 

Detailed Description

Per-CPU VMM context.

Definition at line 108 of file vmm.h.

Field Documentation

◆ currentSpace

space_t* vmm_cpu_ctx_t::currentSpace

Will only be accessed by the owner CPU, so no lock.

Definition at line 114 of file vmm.h.

Referenced by space_load(), and vmm_cpu_ctx_init_common().

◆ entry

list_entry_t vmm_cpu_ctx_t::entry

Used by a space to know which CPUs are using it, protected by the space lock.

Definition at line 110 of file vmm.h.

Referenced by space_load(), and vmm_cpu_ctx_init_common().

◆ lock

lock_t vmm_cpu_ctx_t::lock

Definition at line 113 of file vmm.h.

Referenced by space_tlb_shootdown(), vmm_cpu_ctx_init_common(), and vmm_shootdown_handler().

◆ shootdownCount

uint8_t vmm_cpu_ctx_t::shootdownCount

Definition at line 112 of file vmm.h.

Referenced by space_tlb_shootdown(), vmm_cpu_ctx_init_common(), and vmm_shootdown_handler().

◆ shootdowns

vmm_shootdown_t vmm_cpu_ctx_t::shootdowns[VMM_MAX_SHOOTDOWN_REQUESTS]

Definition at line 111 of file vmm.h.

Referenced by space_tlb_shootdown(), and vmm_shootdown_handler().


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