feat: implement frame table without thread safety

This commit is contained in:
Themis Demetriades
2024-11-26 15:17:11 +00:00
parent 605050e38d
commit ea2725f606
5 changed files with 189 additions and 5 deletions

10
src/vm/frame.h Normal file
View File

@@ -0,0 +1,10 @@
#ifndef VM_FRAME_H
#define VM_FRAME_H
#include "threads/palloc.h"
void frame_init (void);
void *frame_alloc (enum palloc_flags);
void frame_free (void *frame);
#endif /* vm/frame.h */