00001
00002
00003
00004
00005
00006
00007
00008
00009
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