vm: refactor page_array and functions into a separate source file
This commit is contained in:
13
vm/model.c
Normal file
13
vm/model.c
Normal file
@@ -0,0 +1,13 @@
|
||||
#include <socks/vm.h>
|
||||
|
||||
static vm_model_t model;
|
||||
|
||||
vm_model_t vm_memory_model(void)
|
||||
{
|
||||
return model;
|
||||
}
|
||||
|
||||
void vm_set_memory_model(vm_model_t m)
|
||||
{
|
||||
model = m;
|
||||
}
|
||||
Reference in New Issue
Block a user