Skip to main content

CODE_BASE

Constant CODE_BASE 

Source
pub const CODE_BASE: u32 = 0x0040_0000;
Expand description

Guest virtual address where the (single) code region maps read-only. A PVM PC is CODE_BASE + byte_offset. Sits at 4 MiB so [0, 4 MiB) is an unmapped null guard.