LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 8093|回复: 10

[UNIX]unix的v6源码给大家看看.

[复制链接]
发表于 2007-8-16 16:19:50 | 显示全部楼层 |阅读模式
有3M大吧!
现给大家一个pdf的介绍. 喜欢的gtalk.

##############################################
Sep 1 09:28 1988 unix/param.h Page 1 Sep 1 09:28 1988 unix/param.h Page 2
0100 /* fundamental constants: do not change */ 0150
0101 0151 /* priorities: do not alter much */
0102 0152
0103 #define USIZE 16 /* size of user block (*64) */ 0153
0104 #define NULL 0 0154 #define PSWP -100
0105 #define NODEV (-1) 0155 #define PINOD -90
0106 #define ROOTINO 1 /* i number of all roots */ 0156 #define PRIBIO -50
0107 #define DIRSIZ 14 /* max characters per directory */ 0157 #define PPIPE 1
0108 0158 #define PWAIT 40
0109 0159 #define PSLEP 90
0110 /* signals: do not change */ 0160 #define PUSER 100
0111 0161
0112 0162 /* Certain processor registers */
0113 #define NSIG 20 0163
0114 #define SIGHUP 1 /* hangup */ 0164 #define PS 0177776
0115 #define SIGINT 2 /* interrupt (rubout) */ 0165 #define KL 0177560
0116 #define SIGQIT 3 /* quit (FS) */ 0166 #define SW 0177570
0117 #define SIGINS 4 /* illegal instruction */ 0167
0118 #define SIGTRC 5 /* trace or breakpoint */ 0168 /* ------------------------- */
0119 #define SIGIOT 6 /* iot */ 0169
0120 #define SIGEMT 7 /* emt */ 0170 /* structures to access integers : */
0121 #define SIGFPT 8 /* floating point exception */ 0171
0122 #define SIGKIL 9 /* kill */ 0172
0123 #define SIGBUS 10 /* bus error */ 0173 /* single integer */
0124 #define SIGSEG 11 /* segmentation violation */ 0174
0125 #define SIGSYS 12 /* sys */ 0175 struct { int integ; };
0126 #define SIGPIPE 13 /* end of pipe */ 0176
0127 0177
0128 /* tunable variables */ 0178 /* in bytes */
0129 0179
0130 #define NBUF 15 /* size of buffer cache */ 0180 struct { char lobyte; char hibyte; };
0131 #define NINODE 100 /* number of in core inodes */ 0181
0132 #define NFILE 100 /* number of in core file structures */ 0182
0133 #define NMOUNT 5 /* number of mountable file systems */ 0183 /* as a sequence */
0134 #define NEXEC 3 /* number of simultaneous exec’s */ 0184
0135 #define MAXMEM (64*32) /* max core per process; 0185 struct { int r[]; };
0136 first number is kw */ 0186
0137 #define SSIZE 20 /* initial stack size (*64 bytes) */ 0187
0138 #define SINCR 20 /* increment of stack (*64 bytes) */ 0188 /* ------------------------- */
0139 #define NOFILE 15 /* max open files per process */ 0189
0140 #define CANBSIZ 256 /* max size of typewriter line */ 0190
0141 #define CMAPSIZ 100 /* size of core allocation area */ 0191
0142 #define SMAPSIZ 100 /* size of swap allocation area */ 0192
0143 #define NCALL 20 /* max simultaneous time callouts */ 0193
0144 #define NPROC 50 /* max number of processes */ 0194
0145 #define NTEXT 40 /* max number of pure texts */ 0195
0146 #define NCLIST 100 /* max total clist size */ 0196
0147 #define HZ 60 /* Ticks/second of the clock */ 0197
0148 0198
0149 0199
Reproduced under license from the Western Electric Company, NY Reproduced under license from the Western Electric Company, NY
Copyright, J. Lions, 1976 Copyright, J. Lions, 1976
Sheet 01 Sheet 01
发表于 2008-1-26 22:41:20 | 显示全部楼层
怎么没人回呢...
看不懂?没时间看?不感兴趣?
我感觉吧,如果要看的话,不如看linux的内核源码,那个编译了还可以用,这个编译了也用不上
回复 支持 反对

使用道具 举报

发表于 2008-4-28 22:12:04 | 显示全部楼层
给我发一个好么
谢谢
bapuwang7@gmail.com
回复 支持 反对

使用道具 举报

发表于 2008-6-6 23:23:31 | 显示全部楼层
给我发一个。 很感兴趣。。email:betchenhuang@163.com
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-10 21:29:10 | 显示全部楼层
很久 没有来 。最近一直在忙 。 文件不小。我会mail给大家的。
回复 支持 反对

使用道具 举报

发表于 2008-6-10 21:55:19 | 显示全部楼层
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-10 22:43:40 | 显示全部楼层
现在 商业 版本的多是 v7了 。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-10 22:44:48 | 显示全部楼层
但是 。在v7后。就是bsd的出现了。 这样就为我们的自由unix带来了 很多。
回复 支持 反对

使用道具 举报

发表于 2008-7-12 12:34:39 | 显示全部楼层
给我也传一份,谢谢好心人!!!

scpl0000@gmail.com
回复 支持 反对

使用道具 举报

发表于 2008-10-9 09:24:42 | 显示全部楼层
还是去看Linux源码吧。
要看简单的,去http://www.oldlinux.org
最新的是http://www.kernel.org
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表