From 659c54e32b859b5a1f748e613543d52e17c4c2c3 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 9 Jan 2019 02:29:11 +0100 Subject: Switch into 1024x768x32bpp VESA LFB mode at boot. This is going to be pretty cool once I can hook up the Widgets/ code to it. --- Kernel/MemoryManager.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Kernel/MemoryManager.h') diff --git a/Kernel/MemoryManager.h b/Kernel/MemoryManager.h index c5732a3ea8..cb8863ac81 100644 --- a/Kernel/MemoryManager.h +++ b/Kernel/MemoryManager.h @@ -23,6 +23,7 @@ class PhysicalPage { AK_MAKE_ETERNAL friend class MemoryManager; friend class PageDirectory; + friend class VMObject; public: PhysicalAddress paddr() const { return m_paddr; } @@ -73,6 +74,7 @@ class VMObject : public Retainable { public: static RetainPtr create_file_backed(RetainPtr&&, size_t); static RetainPtr create_anonymous(size_t); + static RetainPtr create_framebuffer_wrapper(PhysicalAddress, size_t); RetainPtr clone(); ~VMObject(); @@ -93,6 +95,7 @@ private: VMObject(RetainPtr&&, size_t); explicit VMObject(VMObject&); explicit VMObject(size_t); + VMObject(PhysicalAddress, size_t); String m_name; bool m_anonymous { false }; Unix::off_t m_vnode_offset { 0 }; -- cgit v1.2.3