mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:47:46 +00:00
Kernel/aarch64: Get framebuffer data from BootFramebufferConsole
The BootFramebufferConsole class maps the framebuffer using the MemoryManager, so to be able to draw the logo, we need to get this mapped framebuffer. This commit adds a unsafe API for that.
This commit is contained in:
parent
15b818cd57
commit
779a1d1232
2 changed files with 6 additions and 4 deletions
|
@ -23,6 +23,8 @@ public:
|
|||
virtual void flush(size_t, size_t, size_t, size_t) override { }
|
||||
virtual void set_resolution(size_t, size_t, size_t) override { }
|
||||
|
||||
u8* unsafe_framebuffer_data() { return m_framebuffer_data; }
|
||||
|
||||
BootFramebufferConsole(PhysicalAddress framebuffer_addr, size_t width, size_t height, size_t pitch);
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue