mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:18:11 +00:00
Kernel/Graphics: Remove unnecessary VGAConsole class abstraction
The original intention was to support other types of consoles based on standard VGA modes, but it never came to an implementation, nor we need such feature at all. Therefore, this class is not needed and can be removed.
This commit is contained in:
parent
3f93aec720
commit
97a769d2a9
5 changed files with 5 additions and 61 deletions
|
@ -17,7 +17,8 @@ UNMAP_AFTER_INIT NonnullRefPtr<TextModeConsole> TextModeConsole::initialize()
|
|||
}
|
||||
|
||||
UNMAP_AFTER_INIT TextModeConsole::TextModeConsole()
|
||||
: VGAConsole(VGAConsole::Mode::TextMode, 80, 25)
|
||||
: Console(80, 25)
|
||||
, m_vga_region(MM.allocate_kernel_region(PhysicalAddress(0xa0000), Memory::page_round_up(0xc0000 - 0xa0000).release_value_but_fixme_should_propagate_errors(), "VGA Display"sv, Memory::Region::Access::ReadWrite).release_value())
|
||||
, m_current_vga_window(m_vga_region->vaddr().offset(0x18000).as_ptr())
|
||||
{
|
||||
for (size_t index = 0; index < height(); index++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue