Research V5 development
authorKen Thompson <ken@research.uucp>
Tue, 26 Nov 1974 23:13:21 +0000 (18:13 -0500)
committerKen Thompson <ken@research.uucp>
Tue, 26 Nov 1974 23:13:21 +0000 (18:13 -0500)
Work on file usr/sys/param.h

Co-Authored-By: Dennis Ritchie <dmr@research.uucp>
Synthesized-from: v5

usr/sys/param.h [new file with mode: 0644]

diff --git a/usr/sys/param.h b/usr/sys/param.h
new file mode 100644 (file)
index 0000000..dcb5acb
--- /dev/null
@@ -0,0 +1,70 @@
+/*
+ * variables
+ */
+
+#define        NBUF    15
+#define        NINODE  100
+#define        NFILE   100
+#define        NMOUNT  5
+#define        NEXEC   4
+#define        MAXMEM  (32*32)
+#define        SSIZE   20
+#define        SINCR   20
+#define        NOFILE  15
+#define        CANBSIZ 256
+#define        CMAPSIZ 100
+#define        SMAPSIZ 100
+#define        NCALL   20
+#define        NPROC   50
+#define        NTEXT   20
+#define        NCLIST  100
+
+/*
+ * priorities
+ * probably should not be
+ * altered too much
+ */
+
+#define        PSWP    -100
+#define        PINOD   -90
+#define        PRIBIO  -50
+#define        PPIPE   1
+#define        PWAIT   40
+#define        PSLEP   90
+#define        PUSER   100
+
+/*
+ * signals
+ * dont change
+ */
+
+#define        NSIG    13
+#define                SIGHUP  1
+#define                SIGINT  2
+#define                SIGQIT  3
+#define                SIGINS  4
+#define                SIGTRC  5
+#define                SIGIOT  6
+#define                SIGEMT  7
+#define                SIGFPT  8
+#define                SIGKIL  9
+#define                SIGBUS  10
+#define                SIGSEG  11
+#define                SIGSYS  12
+
+/*
+ * fundamental constants
+ * cannot be changed
+ */
+
+#define        USIZE   16
+#define        NULL    0
+#define        NODEV   (-1)
+#define        ROOTINO 1
+#define        DIRSIZ  14
+
+struct
+{
+       char    lobyte;
+       char    hibyte;
+};