1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 01:27:44 +00:00

Kernel/aarch64: Move logo drawing and initializing into RPi::Framebuffer

This is for a upcoming commit that merges the x86_64 and aarch64
init.cpp files.
This commit is contained in:
Timon Kruiper 2023-04-01 01:51:57 +02:00 committed by Andrew Kaster
parent aa40cef2b7
commit 2613ac4cb4
3 changed files with 81 additions and 56 deletions

View file

@ -18,6 +18,7 @@ public:
};
static Framebuffer& the();
static void initialize();
bool initialized() const { return m_initialized; }
u16 width() const { return m_width; }
@ -28,6 +29,8 @@ public:
u32 pitch() const { return m_pitch; }
PixelOrder pixel_order() { return m_pixel_order; }
void draw_logo(u8* framebuffer_data);
private:
u16 m_width;
u16 m_height;