Research V6 development
[unix-history] / usr / sys / text.h
index 094f4af..f6ff234 100644 (file)
@@ -1,9 +1,15 @@
+/*
+ * Text structure.
+ * One allocated per pure
+ * procedure on swap device.
+ * Manipulated by text.c
+ */
 struct text
 {
 struct text
 {
-       int     x_daddr;
-       int     x_caddr;
-       int     x_size;
-       int     *x_iptr;
-       char    x_count;
-       char    x_ccount;
+       int     x_daddr;        /* disk address of segment */
+       int     x_caddr;        /* core address, if loaded */
+       int     x_size;         /* size (*64) */
+       int     *x_iptr;        /* inode of prototype */
+       char    x_count;        /* reference count */
+       char    x_ccount;       /* number of loaded references */
 } text[NTEXT];
 } text[NTEXT];