have fork() fail, not panic, if not enough phys mem
This commit is contained in:
parent
18e76a6c47
commit
abfe9999f4
5 changed files with 94 additions and 16 deletions
|
|
@ -185,7 +185,7 @@ pagetable_t uvmcreate(void);
|
|||
void uvminit(pagetable_t, uchar *, uint);
|
||||
uint64 uvmalloc(pagetable_t, uint64, uint64);
|
||||
uint64 uvmdealloc(pagetable_t, uint64, uint64);
|
||||
void uvmcopy(pagetable_t, pagetable_t, uint64);
|
||||
int uvmcopy(pagetable_t, pagetable_t, uint64);
|
||||
void uvmfree(pagetable_t, uint64);
|
||||
void mappages(pagetable_t, uint64, uint64, uint64, int);
|
||||
void unmappages(pagetable_t, uint64, uint64, int);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue