#include <ToyProcess.h>
Collaboration diagram for Process:

Data Fields | |
| int | ID |
| SegList * | segments |
| Memory segments. | |
| SegList * | freeheap |
| Head of unused portions of heap. | |
| SegList * | usedheap |
| Used portions of heap. | |
| SegList * | ptr |
| Pointer to previous spot in free list. | |
| PageTable * | pagetable |
| Process' page table when in paging mode. | |
Contains a linked list of memory segments, linked list of space holes in the heap segment, a linked list of used space in the heap segment, and a pointer to the current space hole in the free list.
Definition at line 36 of file ToyProcess.h.
|
|
Head of unused portions of heap.
Definition at line 42 of file ToyProcess.h. Referenced by TMM_PagedAllocateProcess(), TMM_PagedTerminateProcess(), TMM_ReallocateHeap(), and TMM_TerminateProcess(). |
|
|
Process' page table when in paging mode.
Definition at line 48 of file ToyProcess.h. Referenced by TMM_AssignFrame(), TMM_FreeFrame(), TMM_GetPage(), TMM_MarkPageSwappedOut(), TMM_PagedAllocateProcess(), TMM_PagedTerminateProcess(), TMM_PrintPages(), and TMM_PrintPageTable(). |
|
|
Pointer to previous spot in free list.
Definition at line 46 of file ToyProcess.h. Referenced by TMM_PagedAllocateProcess(). |
|
|
Memory segments.
Definition at line 40 of file ToyProcess.h. Referenced by TMM_PagedAllocateProcess(), TMM_PagedTerminateProcess(), TMM_PrintProcessMemory(), TMM_PrintProcessTable(), TMM_StoreInteger(), TMM_StoreString(), and TMM_TerminateProcess(). |
|
|
Used portions of heap.
Definition at line 44 of file ToyProcess.h. Referenced by TMM_AllocateHeap(), TMM_FreeHeap(), TMM_PagedAllocateProcess(), TMM_PagedTerminateProcess(), TMM_PrintHeap(), TMM_PrintProcessMemory(), TMM_ReallocateHeap(), TMM_StoreHeapInteger(), TMM_StoreHeapString(), and TMM_TerminateProcess(). |
1.3-rc3