summaryrefslogtreecommitdiff
path: root/Kernel/MemoryManager.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-01-09 02:29:11 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-01-09 02:29:11 +0100
commit659c54e32b859b5a1f748e613543d52e17c4c2c3 (patch)
tree12d6f61aaaf868f0176e7f42b694b1eef3f9f104 /Kernel/MemoryManager.h
parent9963da900583dc54f46c649978aa8a574a0bd508 (diff)
downloadserenity-659c54e32b859b5a1f748e613543d52e17c4c2c3.zip
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.
Diffstat (limited to 'Kernel/MemoryManager.h')
-rw-r--r--Kernel/MemoryManager.h3
1 files changed, 3 insertions, 0 deletions
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<VMObject> {
public:
static RetainPtr<VMObject> create_file_backed(RetainPtr<Vnode>&&, size_t);
static RetainPtr<VMObject> create_anonymous(size_t);
+ static RetainPtr<VMObject> create_framebuffer_wrapper(PhysicalAddress, size_t);
RetainPtr<VMObject> clone();
~VMObject();
@@ -93,6 +95,7 @@ private:
VMObject(RetainPtr<Vnode>&&, 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 };