home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / utilities / utilss / sockets / include / sys / h / sysconf < prev    next >
Encoding:
Text File  |  1995-01-11  |  1.8 KB  |  68 lines

  1. /*
  2.  * $Header: /ax/networking:include/sys/sysconf.h:networking  1.1  $
  3.  * $Source: /ax/networking:include/sys/sysconf.h: $
  4.  *
  5.  * Copyright (c) 1988 Acorn Computers Ltd., Cambridge, England
  6.  *
  7.  * $Log:    sysconf.h,v $
  8.  * Revision 1.1  95/01/11  10:19:53  kwelton
  9.  * Initial revision
  10.  * 
  11.  * Revision 1.5  88/10/26  11:04:25  brian
  12.  * MAXSHLIBS added.
  13.  * 
  14.  * Revision 1.4  88/07/14  20:29:58  keith
  15.  * Define NPROC to be unrelated to NUSERS at present
  16.  * also NTEXT = NPROC since we rarely share text
  17.  * 
  18.  * Revision 1.3  88/06/17  20:21:28  beta
  19.  * Acorn Unix initial beta version
  20.  * 
  21.  */
  22. /* SYSTEM CONFIGURATION (SIZING) FILE */
  23.  
  24. #if defined(__unix)
  25.  
  26. /* MAX_PHYS_PAGES is the maximum machine size supported. The actual size is */
  27. /* determined at boot time and recorded in physmem.                         */
  28. #define    MAX_PHYS_PAGES    (256)     /* 8 Mb */
  29. #define    TIMEZONE    (0)
  30. #define    DST        (3)
  31. /* #define    NPROC        (20+8*MAXUSERS) */
  32. #define    NPROC        (50)
  33. #define    NSWAPMAP    (NPROC*2)
  34. #define    NBUF        (32)
  35. #define    BUFPAGES    (8)
  36. #define    NSWBUF        (12)
  37. #define    NCMAP        (MAX_PHYS_PAGES) /* May waste some space */
  38. #define    MAXUSERS    (8)
  39. #define    NFILE        (16*(NPROC+16+MAXUSERS)/10+32)
  40. #define    NINODE        (NPROC+16+MAXUSERS+32)
  41. #define    NCALLOUT    (16+NPROC)
  42. /* #define    NTEXT        (36+MAXUSERS) */
  43. #define    NTEXT        (NPROC)
  44. #define    NCLIST        (60+12*MAXUSERS)
  45. #define    NCSIZE        (NPROC+16+MAXUSERS+32)
  46. #define    NMBCLUSTERS    (256)
  47. #define    NCHSIZE        ((NINODE*11)/10)
  48. #define    NKERNELMAP    (20+8*MAXUSERS)
  49. #define MAXSHLIBS    (4)    /* Limit on no. of shared libs per process */
  50.  
  51. #ifdef    QUOTA
  52. #define    NQUOTA        ((MAXUSERS*9)/7+3)
  53. #define    NDQUOT        (NINODE+(MAXUSERS*NMOUNT)/4)
  54. #endif    QUOTA
  55.  
  56. #endif /* defined(__unix) */
  57.  
  58. #if defined(__riscos)
  59. #define NCALLOUT    12
  60. #define    NBUF        (32)
  61. #define    NSWBUF        (12)
  62. #define NPROC        1
  63. #define    MAXUSERS    (8)
  64. #define    NFILE        (16*(NPROC+16+MAXUSERS)/10+32)
  65. #endif /* defined(__riscos) */
  66.  
  67. /* EOF sysconf.h */
  68.