diff options
Diffstat (limited to 'kernel/vm/anon.c')
-rw-r--r-- | kernel/vm/anon.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/kernel/vm/anon.c b/kernel/vm/anon.c index 8c65b85..978ff01 100644 --- a/kernel/vm/anon.c +++ b/kernel/vm/anon.c @@ -27,7 +27,6 @@ static mobj_ops_t anon_mobj_ops = {.get_pframe = NULL, */ void anon_init() { - // NOT_YET_IMPLEMENTED("VM: anon_init"); anon_allocator = slab_allocator_create("anon", sizeof(mobj_t)); } @@ -37,7 +36,6 @@ void anon_init() */ mobj_t *anon_create() { - // NOT_YET_IMPLEMENTED("VM: anon_create"); // make a new mobj mobj_t *mobj = (mobj_t *)slab_obj_alloc(anon_allocator); // initialize the mobj @@ -56,15 +54,7 @@ mobj_t *anon_create() */ static long anon_fill_pframe(mobj_t *o, pframe_t *pf) { - // NOT_YET_IMPLEMENTED("VM: anon_fill_pframe"); - - // set the pframe's mobj to the given mobj - // pf->pf_addr = o; - // set the pframe's flags to dirty - // pf->pf_dirty = 1; - memset(pf->pf_addr, 0, PAGE_SIZE); - return 0; } @@ -79,7 +69,6 @@ static long anon_flush_pframe(mobj_t *o, pframe_t *pf) { return 0; } */ static void anon_destructor(mobj_t *o) { - // NOT_YET_IMPLEMENTED("VM: anon_destructor"); // call the default destructor mobj_default_destructor(o); |