cleanup: rename Graphics:Cursor => Graphics::Framebuffer
This commit is contained in:
@@ -69,9 +69,9 @@ namespace Memory::VMM {
|
||||
// just mapped (e.g. in the 32-bit MMIO hole), and it is not guaranteed
|
||||
// to appear as a memory-map region. It MUST be reachable through the
|
||||
// HHDM before we switch to these page tables, because the very next log
|
||||
// line (and PAT setup, and Cursor init) renders to it via phys+hhdmBase.
|
||||
// Map its pages explicitly (write-back for now; Cursor upgrades them to
|
||||
// write-combining once PAT is reprogrammed).
|
||||
// line (and PAT setup, and framebuffer init) renders to it via phys+hhdmBase.
|
||||
// Map its pages explicitly (write-back for now; the framebuffer module
|
||||
// upgrades them to write-combining once PAT is reprogrammed).
|
||||
if (framebuffer.address != 0) {
|
||||
uint64_t fbPhys = Memory::SubHHDM(framebuffer.address);
|
||||
uint64_t fbBytes = framebuffer.height * framebuffer.pitch;
|
||||
|
||||
Reference in New Issue
Block a user