mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:07:46 +00:00
Kernel: Add Region::clear_to_zero
This helper method can be used to quickly and efficiently zero out a region.
This commit is contained in:
parent
5f95a1a7b7
commit
ff6b43734c
2 changed files with 15 additions and 0 deletions
|
@ -182,6 +182,8 @@ public:
|
|||
|
||||
void remap();
|
||||
|
||||
void clear_to_zero();
|
||||
|
||||
[[nodiscard]] bool is_syscall_region() const { return m_syscall_region; }
|
||||
void set_syscall_region(bool b) { m_syscall_region = b; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue