fieker-DuValspielwiese
Last change
on this file since 1d9b39 was
c1015f,
checked in by Hans Schönemann <hannes@…>, 21 years ago
|
*** empty log message ***
git-svn-id: file:///usr/local/Singular/svn/trunk@6918 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
664 bytes
|
Rev | Line | |
---|
[0e1846] | 1 | #ifndef PAGE_H |
---|
| 2 | #define PAGE_H |
---|
[93266c5] | 3 | #if defined(PAGE_TEST) |
---|
[0e1846] | 4 | #ifdef __cplusplus |
---|
| 5 | extern "C" { |
---|
| 6 | #endif |
---|
| 7 | |
---|
| 8 | #include <stdlib.h> |
---|
| 9 | #include <unistd.h> |
---|
| 10 | #include <stddef.h> |
---|
| 11 | #include <sys/types.h> |
---|
[40edb03] | 12 | #include <sys/times.h> |
---|
[0e1846] | 13 | |
---|
[93266c5] | 14 | void * mmPage_Create(size_t size); |
---|
| 15 | void mmPage_Delete(void * address); |
---|
| 16 | |
---|
| 17 | void mmPage_AllowAccess(void * address); |
---|
| 18 | void mmPage_DenyAccess(void * address); |
---|
| 19 | void mmWriteStat(); |
---|
| 20 | void mmEndStat(); |
---|
| 21 | #define MAX_PAGE_TAB 4096 |
---|
| 22 | #define MM_STAT_FILE "mem_stat.txt" |
---|
| 23 | |
---|
| 24 | extern unsigned long mmPage_tab[MAX_PAGE_TAB]; |
---|
| 25 | extern char mmUse_tab [MAX_PAGE_TAB]; |
---|
| 26 | extern int mmPage_tab_ind; |
---|
| 27 | extern int mmPage_tab_acc; |
---|
[0e1846] | 28 | #ifdef __cplusplus |
---|
| 29 | } |
---|
| 30 | #endif |
---|
| 31 | #endif |
---|
[c0d3de9] | 32 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.