From dc2e2cc9dc9d7790e23dd9a4ccc265d7bb6d76aa Mon Sep 17 00:00:00 2001 From: Kimplul Date: Mon, 20 Dec 2021 12:28:30 +0200 Subject: Added init back --- include/apos/vmem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/apos') diff --git a/include/apos/vmem.h b/include/apos/vmem.h index fe2a76f..daa9d10 100644 --- a/include/apos/vmem.h +++ b/include/apos/vmem.h @@ -39,7 +39,7 @@ struct sp_mem { */ /* defined by arch */ -int sp_mem_init(struct sp_reg_root *r, size_t nums); +int sp_mem_init(struct sp_reg_root *r, vm_t start, size_t nums); vm_t alloc_uvmem(struct tcb *r, size_t s, uint8_t flags); void free_uvmem(struct tcb *r, vm_t a); -- cgit v1.3