summaryrefslogtreecommitdiffstats
path: root/share/doc/psd
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>2002-05-19 05:49:13 +0000
committergrog <grog@FreeBSD.org>2002-05-19 05:49:13 +0000
commit35063bd92715a9ef0ad22a837f653bb432665a2e (patch)
tree12395e8554b251882fa813d1a3a82a9c44e1a34b /share/doc/psd
parent892c211523e64da7cc4e04d8d7c5a206c689f1fe (diff)
downloadFreeBSD-src-35063bd92715a9ef0ad22a837f653bb432665a2e.zip
FreeBSD-src-35063bd92715a9ef0ad22a837f653bb432665a2e.tar.gz
Initial checkin: 4.4BSD version. These files need to be updated with
current license information and adapted to the FreeBSD build environment before they will build. Approved by: David Taylor <davidt@caldera.com>
Diffstat (limited to 'share/doc/psd')
-rw-r--r--share/doc/psd/02.implement/Makefile23
-rw-r--r--share/doc/psd/02.implement/fig1.pic68
-rw-r--r--share/doc/psd/02.implement/fig2.pic78
3 files changed, 165 insertions, 4 deletions
diff --git a/share/doc/psd/02.implement/Makefile b/share/doc/psd/02.implement/Makefile
index 09d7d8b..9a810d8 100644
--- a/share/doc/psd/02.implement/Makefile
+++ b/share/doc/psd/02.implement/Makefile
@@ -1,12 +1,27 @@
# @(#)Makefile 8.1 (Berkeley) 6/8/93
# $FreeBSD$
-DIR= psd/02.implement
+VOLUME= psd/02.implement
SRCS= implement
MACROS= -ms
-REFER= refer -p /usr/old/dict/papers/Ind -e
+# REFER= refer -p /usr/old/dict/papers/Ind -e
+GROFF= groff
-paper.ps: ${SRCS} fig1.pic fig2.pic
- ${SOELIM} ${SRCS} | ${REFER} | ${PIC} | ${ROFF} > ${.TARGET}
+all: paper.ps paper.ascii
+
+paper.ps: ${SRCS}
+ ${SOELIM} ${SRCS} | ${REFER} | ${PIC} | ${GROFF} ${MACROS} - > ${.TARGET}
+
+paper.ascii: ${SRCS}
+ ${SOELIM} ${SRCS} | ${REFER} | ${PIC} | ${ROFF} ${MACROS} - > ${.TARGET}
+
+paper.ascii.gz: paper.ascii
+paper.ps.gz: paper.ps
+
+paper.ascii.gz paper.ps.gz:
+ gzip -f ${.TARGET:.gz=}
+
+clean:
+ rm -f paper.* *.spell errs Errs make.out
.include <bsd.doc.mk>
diff --git a/share/doc/psd/02.implement/fig1.pic b/share/doc/psd/02.implement/fig1.pic
new file mode 100644
index 0000000..cb49a3e
--- /dev/null
+++ b/share/doc/psd/02.implement/fig1.pic
@@ -0,0 +1,68 @@
+.\" Copyright (c) 1986, 1993
+.\" The Regents of the University of California. All rights reserved.
+.\"
+.\" This module is believed to contain source code proprietary to AT&T.
+.\" Use and redistribution is subject to the Berkeley Software License
+.\" Agreement and your Software Agreement with AT&T (Western Electric).
+.\"
+.\" @(#)fig1.pic 8.1 (Berkeley) 6/8/93
+.\"
+.\" $FreeBSD$
+.PS
+.ps 9
+[
+ PT: [
+ T: box invis ht .2i "Process Table"; move down .125i
+ A: box ht .25i; down
+ PTE: box "Process" "Table" "Entry"; down
+ C: box ht .25i
+ ]
+ move right 1.5i
+ TT: [
+ T: box invis ht .2i "Text Table"; move down .125i
+ A: box ht .25i; down
+ TTE: box "Text" "Table" "Entry"; down
+ C: box ht .25i
+ ]
+ move down 1i from TT.C.s
+ move right 0.5i
+ UTS: [
+ box ht 0.75i wid 0.75i "User" "Text" "Segment"
+ ]
+ move left 1.5i from UTS.w
+ DS: [
+ SDS: box "System" "Data" "Segment" ; move down .5i from SDS.n ;
+ UDS: box ht 0.75i "User" "Data" "Segment"
+ ]
+ move left 1i from DS.UDS.w
+ move down 0.25i
+ UAS: [
+ box invis "User" "Address" "Space"
+ ]
+ line from UAS.ne to UAS.se
+ line from UAS.nw to UAS.sw
+ line right 0.15i from UAS.nw
+ line right 0.15i from UAS.sw
+ line left 0.15i from UAS.ne
+ line left 0.15i from UAS.se
+ arrow from 1/4 of the way between PT.PTE.ne and PT.PTE.se right 1.875i
+ arrow from TT.TTE.e right .5i then down to UTS.n
+ arrow from PT.PTE.e right .875i then down to DS.SDS.n
+ arrow from 3/4 of the way between PT.PTE.ne and PT.PTE.se right .25i then down 1.5i then right .25i
+ arrow from 1/4 of the way between UAS.ne and UAS.se right .375i then up .25i then right .25i
+ arrow from 3/4 of the way between UAS.ne and UAS.se right 2.375i then up .875i then right .5i
+ move up 1.3175i from UAS.nw
+ move left .75i
+ line right 5.625i
+ move left 5.25i
+ move up .3125i
+ RS: [
+ box invis ht 0.2i "Resident"
+ ]
+ move down .8i
+ SW: [
+ box invis ht 0.2i "Swapped"
+ ]
+ arrow <-> from RS.s to SW.n
+]
+.PE
diff --git a/share/doc/psd/02.implement/fig2.pic b/share/doc/psd/02.implement/fig2.pic
new file mode 100644
index 0000000..0749905
--- /dev/null
+++ b/share/doc/psd/02.implement/fig2.pic
@@ -0,0 +1,78 @@
+.\" Copyright (c) 1986, 1993
+.\" The Regents of the University of California. All rights reserved.
+.\"
+.\" This module is believed to contain source code proprietary to AT&T.
+.\" Use and redistribution is subject to the Berkeley Software License
+.\" Agreement and your Software Agreement with AT&T (Western Electric).
+.\"
+.\" @(#)fig2.pic 8.1 (Berkeley) 6/8/93
+.\"
+.\" $FreeBSD$
+.PS
+.ps 9
+[
+ PUOFT: [
+ A: box invis ht .4i wid 1i "Per-User Open" "File Table"
+ B: box ht .25i with .n at A.s
+ C: box with .n at B.s
+ D: box ht .25i with .n at C.s
+ ]
+ move down 1.0625i left 1.25i from PUOFT.D.s
+ OFT: [
+ A: box invis ht .4i wid 1i "Open File" "Table"
+ B: box ht .25i with .n at A.s
+ C: box with .n at B.s
+ D: box ht .25i with .n at C.s
+ ]
+ move down 1.0625i right 1.25i from PUOFT.D.s
+ AIT: [
+ A: box invis ht .4i wid 1i "Active I-node" "Table"
+ B: box ht .25i with .n at A.s
+ C: box with .n at B.s
+ D: box ht .25i with .n at C.s
+ ]
+ move down 2.5i from PUOFT.D.s
+ IF: [
+ A: box ht .25i
+ B: box ht .25i "I-node" with .n at A.s
+ C: box ht .25i with .n at B.s
+ D: box ht .25i "File" with .n at C.s
+ E: box ht .25i with .n at D.s
+ ]
+ move right 1.5i from IF.D.w
+ FMA: [
+ box invis "File" "Mapping" "Algorithms"
+ ]
+ line from FMA.ne to FMA.se
+ line from FMA.nw to FMA.sw
+ line left .15i from FMA.se
+ line left .15i from FMA.ne
+ line right .15i from FMA.nw
+ line right .15i from FMA.sw
+
+ arrow from FMA.w to IF.D.e
+ arrow from AIT.C.e right .25i then down 2.125i then left .5i
+ arrow from OFT.C.e to AIT.C.w
+ arrow from PUOFT.C.w left .5i then down 1.625i then left .5i
+ arrow <-> from IF.B.e right .5i then up 1.5i then right .5i
+
+ move up .1875i from OFT.A.nw
+ line right 5i
+ move left 5i down 1.9375i
+ line right 5i
+
+ move up 1.63475i right 2.75i from PUOFT.D.s
+ line right .1i down .1i then down .6i then right .1i down .1i then left .1i down .1i then down .6i then left .1i down .1i
+ move down .34375i right 2.75i from PUOFT.D.s
+ line right .1i down .1i then down .6i then right .1i down .1i then left .1i down .1i then down .6i then left .1i down .1i
+ move down 2.34375i right 2.75i from PUOFT.D.s
+ line right .1i down .1i then down .6i then right .1i down .1i then left .1i down .1i then down .6i then left .1i down .1i
+
+ move up 0.817375i right 2.9i from PUOFT.D.s
+ box invis "Swapped" "Per User"
+ move down 1.15625i right 2.9i from PUOFT.D.s
+ box invis wid 1i "Resident" "Per System"
+ move down 3.15675i right 2.9i from PUOFT.D.s
+ box invis ht 1i wid 1i "Secondary" "Storage" "Per" "File System"
+]
+.PE
OpenPOWER on IntegriCloud