projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
conversion of ino_t from u_short to u_long (making dir entries 32 bytes each)
[unix-history]
/
usr
/
src
/
sys
/
kern
/
init_main.c
diff --git
a/usr/src/sys/kern/init_main.c
b/usr/src/sys/kern/init_main.c
index
64711e5
..
0d3f4ec
100644
(file)
--- a/
usr/src/sys/kern/init_main.c
+++ b/
usr/src/sys/kern/init_main.c
@@
-1,4
+1,4
@@
-/* init_main.c 4.
18 81/08/24
*/
+/* init_main.c 4.
22 81/11/18
*/
#include "../h/param.h"
#include "../h/systm.h"
#include "../h/param.h"
#include "../h/systm.h"
@@
-20,6
+20,9
@@
#include "../h/text.h"
#include "../h/vlimit.h"
#include "../h/clist.h"
#include "../h/text.h"
#include "../h/vlimit.h"
#include "../h/clist.h"
+#ifdef INET
+#include "../h/protosw.h"
+#endif
/*
* Initialization code.
/*
* Initialization code.
@@
-76,17
+79,18
@@
main(firstaddr)
clkstart();
/*
clkstart();
/*
- * Initialize devices and
- * set up 'known' i-nodes
+ * Initialize tables, protocols, and set up well-known inodes.
*/
*/
-
+ mbinit();
+#ifdef INET
+ pfinit();
+#endif
ihinit();
bhinit();
cinit();
binit();
bswinit();
iinit();
ihinit();
bhinit();
cinit();
binit();
bswinit();
iinit();
- ptinit();
rootdir = iget(rootdev, (ino_t)ROOTINO);
rootdir->i_flag &= ~ILOCK;
u.u_cdir = iget(rootdev, (ino_t)ROOTINO);
rootdir = iget(rootdev, (ino_t)ROOTINO);
rootdir->i_flag &= ~ILOCK;
u.u_cdir = iget(rootdev, (ino_t)ROOTINO);