This repository has been archived on 2025-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
csce410pine64backup/MP4/MP4_Sources/vm_pool.C

70 lines
1.9 KiB
C
Raw Permalink Normal View History

2017-07-06 17:47:31 -05:00
/*
File: vm_pool.C
Author:
Date :
*/
/*--------------------------------------------------------------------------*/
/* DEFINES */
/*--------------------------------------------------------------------------*/
/* -- (none) -- */
/*--------------------------------------------------------------------------*/
/* INCLUDES */
/*--------------------------------------------------------------------------*/
#include "vm_pool.H"
#include "console.H"
#include "utils.H"
#include "assert.H"
#include "simple_keyboard.H"
/*--------------------------------------------------------------------------*/
/* DATA STRUCTURES */
/*--------------------------------------------------------------------------*/
/* -- (none) -- */
/*--------------------------------------------------------------------------*/
/* CONSTANTS */
/*--------------------------------------------------------------------------*/
/* -- (none) -- */
/*--------------------------------------------------------------------------*/
/* FORWARDS */
/*--------------------------------------------------------------------------*/
/* -- (none) -- */
/*--------------------------------------------------------------------------*/
/* METHODS FOR CLASS V M P o o l */
/*--------------------------------------------------------------------------*/
VMPool::VMPool(unsigned long _base_address,
unsigned long _size,
ContFramePool *_frame_pool,
PageTable *_page_table) {
assert(false);
Console::puts("Constructed VMPool object.\n");
}
unsigned long VMPool::allocate(unsigned long _size) {
assert(false);
Console::puts("Allocated region of memory.\n");
}
void VMPool::release(unsigned long _start_address) {
assert(false);
Console::puts("Released region of memory.\n");
}
bool VMPool::is_legitimate(unsigned long _address) {
assert(false);
Console::puts("Checked whether address is part of an allocated region.\n");
}