mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:17:34 +00:00
Add mechanism to expose kernel variables to userspace via ProcFS.
Only booleans are supported at first. More types can be added easily. Use this to add /proc/sys/wm_flash_flush which when enabled flashes pending screen flush rects in yellow before they happen.
This commit is contained in:
parent
9454c5dd52
commit
f7cc454162
8 changed files with 121 additions and 29 deletions
|
@ -94,4 +94,6 @@ private:
|
|||
OwnPtr<Painter> m_front_painter;
|
||||
|
||||
mutable Lock m_lock;
|
||||
|
||||
bool m_flash_flush { false };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue