mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
Kernel: Remove unused "VGA font" memory region in GraphicsManagement
This commit is contained in:
parent
2c1788e2e4
commit
5712e46ddc
2 changed files with 1 additions and 3 deletions
|
@ -32,8 +32,7 @@ bool GraphicsManagement::is_initialized()
|
||||||
}
|
}
|
||||||
|
|
||||||
UNMAP_AFTER_INIT GraphicsManagement::GraphicsManagement()
|
UNMAP_AFTER_INIT GraphicsManagement::GraphicsManagement()
|
||||||
: m_vga_font_region(MM.allocate_kernel_region(PAGE_SIZE, "VGA font", Memory::Region::Access::ReadWrite, AllocationStrategy::AllocateNow).release_nonnull())
|
: m_framebuffer_devices_allowed(!kernel_command_line().is_no_framebuffer_devices_mode())
|
||||||
, m_framebuffer_devices_allowed(!kernel_command_line().is_no_framebuffer_devices_mode())
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,6 @@ public:
|
||||||
private:
|
private:
|
||||||
bool determine_and_initialize_graphics_device(const PCI::Address& address, PCI::ID id);
|
bool determine_and_initialize_graphics_device(const PCI::Address& address, PCI::ID id);
|
||||||
NonnullRefPtrVector<GraphicsDevice> m_graphics_devices;
|
NonnullRefPtrVector<GraphicsDevice> m_graphics_devices;
|
||||||
NonnullOwnPtr<Memory::Region> m_vga_font_region;
|
|
||||||
RefPtr<Graphics::Console> m_console;
|
RefPtr<Graphics::Console> m_console;
|
||||||
|
|
||||||
// Note: there could be multiple VGA adapters, but only one can operate in VGA mode
|
// Note: there could be multiple VGA adapters, but only one can operate in VGA mode
|
||||||
|
|
Loading…
Add table
Reference in a new issue