/[machmon]/machmon/include/kernel.h
ViewVC logotype

Diff of /machmon/include/kernel.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by pbastos, Mon Jul 1 15:15:28 2002 UTC revision 1.2 by pbastos, Tue Jul 2 00:49:13 2002 UTC
# Line 33  Line 33 
33  #include <kvm.h>  #include <kvm.h>
34  #include <nlist.h>  #include <nlist.h>
35    
36  kvm_t *kd;  extern kvm_t *kd;
37    
38  /*  /*
39   * This is the symbol table we use so that the kernel knows what we want to   * This is the symbol table we use so that the kernel knows what we want to
40   * grab from it according to a couple of defines and a reference structure.   * grab from it according to a couple of defines and a reference structure.
41   */   */
42    
43  #define N_IFNET         0  #define N_IFNET         0
44  #define N_MBPOOL        1  #define N_MBPOOL        1
45  #define N_MCLPOOL       2  #define N_MCLPOOL       2
46  #define N_FSCALE        3  #define N_FSCALE        3
47  #define N_CCPU          4  #define N_CCPU          4
48  #define N_PHYSMEM       5  #define N_PHYSMEM       5
49  #define N_MAXSLP        6  #define N_MAXSLP        6
50    
51  struct nlist mm_nl[] = {  extern struct nlist mm_nl[] = {
52          { "_ifnet" }, { "_mbpool" }, { "_mclpool" }, { "_fscale" }, { "__ccpu" },          { "_ifnet" }, { "_mbpool" }, { "_mclpool" }, { "_fscale" }, { "__ccpu" },
53          { "_physmem" }, { "_maxslp"}, { NULL }          { "_physmem" }, { "_maxslp"}, { NULL }
54  };  };

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26