Bell 32V development
authorTom London <tbl@research.uucp>
Tue, 23 Jan 1979 12:15:49 +0000 (07:15 -0500)
committerTom London <tbl@research.uucp>
Tue, 23 Jan 1979 12:15:49 +0000 (07:15 -0500)
Work on file usr/src/sys/h/mem.h

Co-Authored-By: John Reiser <jfr@research.uucp>
Synthesized-from: 32v

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

diff --git a/usr/src/sys/h/mem.h b/usr/src/sys/h/mem.h
new file mode 100644 (file)
index 0000000..4b5b503
--- /dev/null
@@ -0,0 +1,44 @@
+/*
+ * "incore" memory free list
+ */
+
+struct {
+       int m_free;
+       short m_pnum[NICMEM];
+       } mem;
+
+int firstfree, maxfree, lastpos;
+int masktab[] = {
+       0x1,
+       0x2,
+       0x4,
+       0x8,
+       0x10,
+       0x20,
+       0x40,
+       0x80,
+       0x100,
+       0x200,
+       0x400,
+       0x800,
+       0x1000,
+       0x2000,
+       0x4000,
+       0x8000,
+       0x10000,
+       0x20000,
+       0x40000,
+       0x80000,
+       0x100000,
+       0x200000,
+       0x400000,
+       0x800000,
+       0x1000000,
+       0x2000000,
+       0x4000000,
+       0x8000000,
+       0x10000000,
+       0x20000000,
+       0x40000000,
+       0x80000000,
+       };