stos: hal: Implement HalMmuForkVas()
Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
@@ -36,6 +36,19 @@ VOID HalMmuReadVas(MMU_VAS *Result);
|
||||
*/
|
||||
VOID HalMmuWriteVas(MMU_VAS *Vas);
|
||||
|
||||
/*
|
||||
* When starting other cute slut critter processes, we need a fresh
|
||||
* VAS with the lower half gone so that it can be re-populated properly
|
||||
* for user processes.
|
||||
*
|
||||
* This function does not breed the CR3 register and you'll manually
|
||||
* need to do so with HalMmuWriteVas()
|
||||
*
|
||||
* @Old: Old VAS to fork
|
||||
* @NewResult: New result is written here
|
||||
*/
|
||||
ST_STATUS HalMmuForkVas(MMU_VAS *Old, MMU_VAS *NewResult);
|
||||
|
||||
/*
|
||||
* Map a single page of memory
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user