source: git/kernel/page.h @ f599a46

spielwiese
Last change on this file since f599a46 was c1015f, checked in by Hans Schönemann <hannes@…>, 20 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
Line 
1#ifndef PAGE_H
2#define PAGE_H
3#if defined(PAGE_TEST)
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8#include <stdlib.h>
9#include <unistd.h>
10#include <stddef.h>
11#include <sys/types.h>
12#include <sys/times.h>
13
14void * mmPage_Create(size_t size);
15void mmPage_Delete(void * address);
16
17void mmPage_AllowAccess(void * address);
18void mmPage_DenyAccess(void * address);
19void mmWriteStat();
20void mmEndStat();
21#define MAX_PAGE_TAB 4096
22#define MM_STAT_FILE "mem_stat.txt"
23
24extern unsigned long mmPage_tab[MAX_PAGE_TAB];
25extern char          mmUse_tab [MAX_PAGE_TAB];
26extern int           mmPage_tab_ind;
27extern int           mmPage_tab_acc;
28#ifdef __cplusplus
29}
30#endif
31#endif
32#endif
Note: See TracBrowser for help on using the repository browser.