home *** CD-ROM | disk | FTP | other *** search
/ Jason Aller Floppy Collection / 202.img / SCO386N2.TD0 / usr / include / sys / kmon.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-05-18  |  940 b   |  41 lines

  1. /*
  2.  *    @(#) kmon.h 2.1 88/05/18 
  3.  *
  4.  *    Copyright (C) The Santa Cruz Operation, 1984, 1985, 1986, 1987.
  5.  *    Copyright (C) Microsoft Corporation, 1984, 1985, 1986, 1987.
  6.  *    This Module contains Proprietary Information of
  7.  *    The Santa Cruz Operation, Microsoft Corporation
  8.  *    and AT&T, and should be treated as Confidential.
  9.  */
  10.  
  11. /*
  12.  *  Monitor buffer starts with the following structure:
  13.  */
  14. struct monhdr {
  15.     int        (far *mh_lowpc)();    /* lowest address */
  16.     int        (far *mh_highpc)();    /* highest address */
  17.     unsigned short    mh_nfunc;        /* number of procedures */
  18. };
  19.  
  20. /*
  21.  *  and is followed by an array of monhdr->mh_nfunc of:
  22.  */
  23. struct mon {
  24.     long    m_count;        /* number of invocations */
  25.     int    (far *m_proc)();    /* procedure address */
  26. };
  27.  
  28. /*
  29.  *  and then by an array of shorts.
  30.  */
  31.  
  32. /*
  33.  *  definitions for kernel monitor control
  34.  */
  35. #define    KMON        1
  36. #define    KMON_ON        64
  37. #define    KMON_OFF    65
  38. #define    KMON_DUMP    66
  39. #define    KMON_RESET    67
  40. #define    KMON_TEST    68
  41.