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:
parent
0b5d5fc3c9
commit
eda0866992
14 changed files with 186 additions and 46 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue