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:
parent
aa40cef2b7
commit
2613ac4cb4
3 changed files with 81 additions and 56 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue