diff options
author | Timon Kruiper <timonkruiper@gmail.com> | 2022-09-21 17:04:09 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-10-01 14:09:01 +0200 |
commit | 15b818cd576cac1e115ced5c69ad79cbea2345fe (patch) | |
tree | 7e39f615d0332c5ebae9d28b456ad7ed7a88179c /Kernel/Graphics/Console/BootFramebufferConsole.h | |
parent | 57b136947507e8d73e84ca413c15e30274442c9f (diff) | |
download | serenity-15b818cd576cac1e115ced5c69ad79cbea2345fe.zip |
Kernel/aarch64: Remove specific aarch64 code in BootFramebufferConsole
The MemoryManager now works, so we can use the same code as on x86 to
map the framebuffer. Since it uses the MemoryManager, the initialization
of the BootFramebufferConsole has to happen after the MemoryManager is
working.
Diffstat (limited to 'Kernel/Graphics/Console/BootFramebufferConsole.h')
-rw-r--r-- | Kernel/Graphics/Console/BootFramebufferConsole.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Kernel/Graphics/Console/BootFramebufferConsole.h b/Kernel/Graphics/Console/BootFramebufferConsole.h index a04a8282e0..f37ea6ccd5 100644 --- a/Kernel/Graphics/Console/BootFramebufferConsole.h +++ b/Kernel/Graphics/Console/BootFramebufferConsole.h @@ -23,12 +23,7 @@ public: virtual void flush(size_t, size_t, size_t, size_t) override { } virtual void set_resolution(size_t, size_t, size_t) override { } -// FIXME: Port MemoryManager to aarch64 -#if ARCH(AARCH64) - BootFramebufferConsole(u8* framebuffer_addr, size_t width, size_t height, size_t pitch); -#else BootFramebufferConsole(PhysicalAddress framebuffer_addr, size_t width, size_t height, size_t pitch); -#endif private: virtual void set_cursor(size_t x, size_t y) override; @@ -40,12 +35,7 @@ protected: virtual u8* framebuffer_data() override; -// FIXME: Port MemoryManager to aarch64 -#if ARCH(AARCH64) - u8* m_framebuffer; -#else OwnPtr<Memory::Region> m_framebuffer; -#endif u8* m_framebuffer_data {}; mutable Spinlock m_lock { LockRank::None }; }; |