VGA_LIKE_OFFSET

Constant VGA_LIKE_OFFSET 

Source
pub const VGA_LIKE_OFFSET: u64 = _; // 1_074_495_488u64
Expand description

Virtual offset inside the HHDM where we map the framebuffer.

We pick HHDM_BASE + 1 GiB + 0xB8000 (“VGA-like”) to stay well clear of a potential 1 GiB huge page mapping at the very start of the HHDM.

This reduces the risk of having to split a 1 GiB page into 4 KiB pages.