From 3942ec1841219e9d1033f583ebfcf687cb76a4af Mon Sep 17 00:00:00 2001 From: Michael Foiani Date: Wed, 15 May 2024 18:17:49 -0400 Subject: FINAfinal submission (for real this time) --- kernel/vm/anon.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'kernel/vm/anon.c') 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); -- cgit v1.2.3-70-g09d2