1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:57:35 +00:00

Add a C++ helper class for working with shared buffers.

This is a bit more comfortable than passing the shared buffer ID manually
everywhere and keeping track of size etc.
This commit is contained in:
Andreas Kling 2019-03-08 12:22:55 +01:00
parent 0b5d5fc3c9
commit eda0866992
14 changed files with 186 additions and 46 deletions

View file

@ -203,6 +203,8 @@ public:
const Bitmap& cow_map() const { return m_cow_map; }
void set_writable(bool b) { m_writable = b; }
private:
RetainPtr<PageDirectory> m_page_directory;
LinearAddress m_laddr;