minix/servers/vm/glo.h
Ben Gras c78250332d let vm use physically fragmented memory for allocations.
map_copy_ph_block is replaced by map_clone_ph_block, which can
replace a single physical block by multiple physical blocks.

also,
 . merge map_mem.c with region.c, as they manipulate the same
   data structures
 . NOTRUNNABLE removed as sanity check
 . use direct functions for ALLOC_MEM and FREE_MEM again
 . add some checks to shared memory mapping code
 . fix for data structure integrity when using shared memory
 . fix sanity checks
2010-04-12 11:25:24 +00:00

34 lines
552 B
C

#include <minix/sys_config.h>
#include <sys/stat.h>
#include <a.out.h>
#include <tools.h>
#include "vm.h"
#include "vmproc.h"
#if _MAIN
#undef EXTERN
#define EXTERN
#endif
#define VMP_SYSTEM _NR_PROCS
#define VMP_EXECTMP _NR_PROCS+1
#define VMP_NR _NR_PROCS+2
EXTERN struct vmproc vmproc[VMP_NR];
#if SANITYCHECKS
EXTERN int nocheck;
EXTERN int incheck;
EXTERN long vm_sanitychecklevel;
#endif
/* total number of memory pages */
EXTERN int total_pages;
/* vm operation mode state and values */
EXTERN long vm_paged;
EXTERN int meminit_done;