diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-12-09 20:06:47 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-12-09 20:06:47 +0100 |
commit | 0317ca5ccc8898dad856ccfa0d7cea18b1eeca98 (patch) | |
tree | cc3d318340f6057cf711a65be43cf330187d9c37 /Kernel/Process.h | |
parent | 65229a40828bb77e3ecd6085e9d4c0c3b39ce3d9 (diff) | |
download | serenity-0317ca5ccc8898dad856ccfa0d7cea18b1eeca98.zip |
Kernel+LibC: Make all SharedBuffers purgeable (default: non-volatile)
This patch makes SharedBuffer use a PurgeableVMObject as its underlying
memory object.
A new syscall is added to control the volatile flag of a SharedBuffer.
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r-- | Kernel/Process.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h index e7e2a08782..53e3974dc3 100644 --- a/Kernel/Process.h +++ b/Kernel/Process.h @@ -219,6 +219,7 @@ public: int sys$release_shared_buffer(int shared_buffer_id); int sys$seal_shared_buffer(int shared_buffer_id); int sys$get_shared_buffer_size(int shared_buffer_id); + int sys$set_shared_buffer_volatile(int shared_buffer_id, bool); int sys$halt(); int sys$reboot(); int sys$set_process_icon(int icon_id); |