1: /*
   2: ** kvm.h                    Header file for the kernel virtual memory access
   3: **                          routines
   4: **
   5: ** This code is in the public domain and may be used freely by anyone
   6: ** who wants to.
   7: **
   8: ** Last update: 19 Oct 1992
   9: **
  10: ** Author: Peter Eriksson <pen@lysator.liu.se>
  11: */
  12: 
  13: #ifndef __KVM_H__
  14: #define __KVM_H__
  15: 
  16: typedef struct
  17: {
  18:   int fd;
  19:   char *namelist;
  20: #ifdef BSD43
  21:   int swap_fd;
  22:   int mem_fd;
  23: 
  24:   int procidx;
  25:   int nproc;
  26:   struct pte *Usrptma;
  27:   struct pte *usrpt;
  28:   struct proc *proctab;
  29: #endif
  30: } kvm_t;
  31: 
  32: 
  33: extern kvm_t *kvm_open();
  34: extern int kvm_close();
  35: extern int kvm_nlist();
  36: extern int kvm_read();
  37: 
  38: #ifdef BSD43
  39: extern struct user *kvm_getu();
  40: extern struct proc *kvm_getproc();
  41: extern struct proc *kvm_nextproc();
  42: extern int kvm_setproc();
  43: #endif
  44: 
  45: #endif

Defined macros

__KVM_H__ defined in line 14; used 1 times
  • in line 13

Usage of this include

Last modified: 1992-10-20
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1273
Valid CSS Valid XHTML 1.0 Strict