Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields  

ToyMemPage.h

00001 /***************************************************************************
00002                           ToyMemPage.h  -  Defines additional commands
00003     used while in Paged mode.  Note that TMM_PagedAllocateProcess and
00004     TMM_PagedTerminateProcess must be used instead of their legacy
00005     counterparts while in Paged mode.
00006                              -------------------
00007     begin                : Thu Feb 20 2003
00008     copyright            : (C) 2003 by Tyler Montbriand
00009     email                : monttyle@heavyspace.ca
00010  ***************************************************************************/
00011 
00012 #ifndef __TOYMEMPAGE_H__
00013 #define __TOYMEMPAGE_H__
00014 
00015 #ifdef __cplusplus
00016 extern "C" {
00017 #endif
00018 
00022 ErrMessage_t TMM_PrintPages(ToyMM *tm, int process);
00023 
00027 ErrMessage_t TMM_PrintFrames(ToyMM *tmm);
00028 
00032 ErrMessage_t TMM_WatchPaging(ToyMM *tmm, int process, int enable);
00033 
00037 ErrMessage_t TMM_PagedAllocateProcess(ToyMM *tmm, int ID, int nSegs, int sizes[]);
00038 
00042 ErrMessage_t TMM_PrintPageTable(ToyMM *tm, int process);
00043 
00048 ErrMessage_t TMM_PrintInvertedPageTable(ToyMM *tmm, int process);
00049 
00053 ErrMessage_t TMM_PagedTerminateProcess(ToyMM *tm, int process);
00054 
00058 ErrMessage_t TMM_EnablePaging(ToyMM *tm, int process, int pagesize);
00059 
00060 #ifdef __cplusplus
00061   }
00062 #endif
00063 
00064 #endif/*__TOYMEMPAGE_H__*/

Generated on Fri Apr 4 14:29:07 2003 for ToyMem by doxygen1.3-rc3