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

  1. /*
  2.  *    @(#) proctl.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.  * THIS FILE CONTAINS CODE WHICH IS DESIGNED TO BE
  13.  * PORTABLE BETWEEN DIFFERENT MACHINE ARCHITECTURES
  14.  * AND CONFIGURATIONS. IT SHOULD NOT REQUIRE ANY
  15.  * MODIFICATIONS WHEN ADAPTING XENIX TO NEW HARDWARE.
  16.  */
  17.  
  18. /* proctl() requests */
  19.  
  20. #define PRHUGEX        1    /* allow process > swapper size to execute */
  21. #define PRNORMEX     2    /* remove PRHUGEX permission */
  22. #define PRGETCMEM    3    /* allocate physically contiguous memory */
  23. #define PRHGETCMEM    4    /* same as above, for huge model */
  24. #define PRFREECMEM    5    /* deallocate memory allocated via PRGETCMEM */
  25. #define PRHFREECMEM    6    /* same as above, for huge model */
  26.  
  27. /* proctl() arg structures */
  28. struct    pr_cmemarg {
  29.         char far *addr;
  30.         long      bsize;
  31. };
  32.  
  33.