mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:47:34 +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
|
@ -8,11 +8,11 @@
|
|||
|
||||
#include <AK/RefCounted.h>
|
||||
#include <AK/Types.h>
|
||||
#include <Kernel/Graphics/Console/VGAConsole.h>
|
||||
#include <Kernel/Graphics/Console/Console.h>
|
||||
#include <Kernel/Locking/Spinlock.h>
|
||||
|
||||
namespace Kernel::Graphics {
|
||||
class TextModeConsole final : public VGAConsole {
|
||||
class TextModeConsole final : public Console {
|
||||
public:
|
||||
static NonnullRefPtr<TextModeConsole> initialize();
|
||||
virtual size_t chars_per_line() const override { return width(); };
|
||||
|
@ -40,6 +40,7 @@ private:
|
|||
|
||||
mutable Spinlock m_vga_lock;
|
||||
|
||||
NonnullOwnPtr<Memory::Region> m_vga_region;
|
||||
VirtualAddress m_current_vga_window;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue