mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:57:43 +00:00
Kernel: Add a Process::add_region() helper
This is a private helper for adding a Region to Process::m_regions. It's just for convenience since it's a bit cumbersome to do this.
This commit is contained in:
parent
1dc9fa9506
commit
ae0c435e68
2 changed files with 26 additions and 17 deletions
|
@ -390,6 +390,8 @@ private:
|
|||
|
||||
Range allocate_range(VirtualAddress, size_t);
|
||||
|
||||
Region& add_region(NonnullOwnPtr<Region>);
|
||||
|
||||
int do_exec(NonnullRefPtr<FileDescription> main_program_description, Vector<String> arguments, Vector<String> environment, RefPtr<FileDescription> interpreter_description);
|
||||
ssize_t do_write(FileDescription&, const u8*, int data_size);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue