David Greenman
7bfaa9cdaf
Inlined ins/outs functions.
...
Obtained from: NetBSD
1994-09-25 21:31:55 +00:00
David Greenman
d5c97aea74
Undo last change: the ins/outs functions DO NOT return a pointer!
1994-09-25 20:03:41 +00:00
Poul-Henning Kamp
bb56ec4a05
While in the real world, I had a bad case of being swapped out for a lot of
...
cycles. While waiting there I added a lot of the extra ()'s I have, (I have
never used LISP to any extent). So I compiled the kernel with -Wall and
shut up a lot of "suggest you add ()'s", removed a bunch of unused var's
and added a couple of declarations here and there. Having a lap-top is
highly recommended. My kernel still runs, yell at me if you kernel breaks.
1994-09-25 19:34:02 +00:00
Joerg Wunsch
c7a64a0369
Copied over the transfer speed definitions from sys/i386/isa/fdreg.h.
...
This is needed for having the fdformat program no longer searching
non-public include paths.
Protect the definitions in fdreg.h against double inclusion.
1994-09-25 18:42:23 +00:00
Joerg Wunsch
011b09f93f
Copied over the transfer speed definitions from sys/i386/isa/fdreg.h.
...
This is needed for having the fdformat program no longer searching
non-public include paths.
1994-09-25 18:41:21 +00:00
David Greenman
1359438003
Extended minor number to include bits 16-31. It was done this way rather
...
than making it 16bit and extending the major to 16bit because doing that
would have caused problems with existing filesystems /dev entries. This
change should have no apparant side effects.
This change is needed for the DOS partition re-work and other things.
Submitted by: Bruce Evans
1994-09-25 15:56:25 +00:00
Søren Schmidt
792b741dd4
LKM for ibcs2 support
1994-09-25 08:52:14 +00:00
Søren Schmidt
a2cedb8e88
Added support for EXEC type modules.
1994-09-25 08:51:07 +00:00
Poul-Henning Kamp
295cfc17bd
Made the kernel 256 bytes smaller by removing a unused
...
u_char bt_scratch_buf[256];
doesn't affect the file-size though :-(
1994-09-25 07:11:37 +00:00
Poul-Henning Kamp
87eafbcacd
Moved the ft.c from 1.1.5.1 over. It works on my Conner thingie. Got
...
rid of a ton of unused vars at the same time.
1994-09-25 06:04:25 +00:00
David Greenman
426de76026
Disabled swap anti-fragmentation code. It reduces swap paging performance
...
by 20% in my tests, and it appears to be the cause of a swap leak.
Submitted by: John Dyson
1994-09-25 04:02:10 +00:00
Andrey A. Chernov
7bf314246a
HARDFONTS option documented
1994-09-25 02:10:47 +00:00
Andrey A. Chernov
899fe378a6
1)Back out my previous change: only 8x16 font grabbing available,
...
more work required to grab all fonts
2)Make standard VGA font as default, make HARDFONTS an option
(load iso8859 fonts instead)
3)Check fonts_loaded for all restore (copy_font...palette)
sequences.
1994-09-25 02:06:51 +00:00
David Greenman
bc6d744470
Shuffled macros and definitions around to facilitate architecture
...
independance.
1994-09-24 21:37:01 +00:00
Andrey A. Chernov
248a9521f8
SAVE all fonts, if NO_HARDFONTS defined, not only 8x16
1994-09-24 21:29:38 +00:00
David Greenman
24881d11a7
New file to contain a.out specific macros and definitions.
1994-09-24 21:09:18 +00:00
David Greenman
7de4b2667e
Temporarily (?) disable block reallocation until either the real bug is
...
found or we throw out the vfs cluster code entirely.
1994-09-24 18:31:45 +00:00
David Greenman
0f85a55965
1) Added "." and ".." entries.
...
2) Fixed directory size to return something reasonable.
3) Disabled "file" until the code is completed.
4) Corrected directory link counts.
1994-09-24 17:01:05 +00:00
David Greenman
2a531c809e
Added support for p_textvp which stores the vnode pointer of the execed binary.
1994-09-24 16:58:43 +00:00
David Greenman
5a8420c53e
Nuked splnet before sync. Not only is this unnecessary, but it appears
...
to cause problems by making it impossible to sync NFS related buffers
when rebooting.
1994-09-24 12:22:47 +00:00
Rodney W. Grimes
1ee6b373eb
Add missing closing comment. I have taken the non-knf format
...
of this code up with the authors and they are looking at converting it,
but until then leave the format alone.
1994-09-24 02:42:11 +00:00
Garrett Wollman
63b46ee515
Add MIB variable kern.bootfile (R/W) giving the name of the booted kernel.
...
Kernel variable is kernelname[].
1994-09-23 19:07:42 +00:00
Garrett Wollman
fcd07b1721
Forgot to commit this change when making NFS loadable.
1994-09-23 17:49:44 +00:00
David Greenman
c7b5eaccd6
Include <sys/kernel.h> not <kernel.h>
1994-09-23 11:01:58 +00:00
Poul-Henning Kamp
905d9e84dd
Fixed the problem where "make depend" was mandatory for building kernel.
...
moved vnode_if.o up before ${OBJS} in the SYSTEM_OBJS list.
1994-09-23 07:01:59 +00:00
David Greenman
a6cd0a2477
Increased SHMMAXPGS from 512 to 1024 now that there is plenty of kernel
...
virtual memory.
1994-09-23 07:00:12 +00:00
David Greenman
16b49b3e73
Removed last vestige of MULTICAST option.
1994-09-23 06:22:58 +00:00
Garrett Wollman
e98e6beea3
Add PPP. NB: this is VERY VERY VERY green code, added to make it easier
...
to test things out. It compiles, but I don't know if it works (yet).
1994-09-23 00:14:11 +00:00
Garrett Wollman
45d17740c2
Make the kernel side of PPP compile.
1994-09-23 00:13:22 +00:00
Garrett Wollman
2980d1306a
Initial revision
1994-09-23 00:10:32 +00:00
Garrett Wollman
42477d75d0
Create NFS LKM.
1994-09-22 22:12:59 +00:00
Garrett Wollman
e21fa31a8e
Make NFS loadable.
1994-09-22 22:10:49 +00:00
Andrey A. Chernov
b6b51eb3b0
make 8bit clean defaults
1994-09-22 19:51:43 +00:00
Garrett Wollman
c9b1d6048d
More loadable VFS changes:
...
- Make a number of filesystems work again when they are statically compiled
(blush)
- FIFOs are no longer optional; ``options FIFO'' removed from distributed
config files.
1994-09-22 19:38:41 +00:00
David Greenman
6ce81dd1b2
From 1.1.5:
...
>revision 1.8
>date: 1994/06/03 06:42:30; author: davidg; state: Exp; lines: +2 -2
>Patch from Bruce Evans: npxintr() needs to mask softclock().
1994-09-22 14:44:16 +00:00
Garrett Wollman
862cdb8eb6
Call ffs ``ufs'' for the benefit of poor, confused user-land programs.
1994-09-22 01:57:27 +00:00
Garrett Wollman
dff55bb5c2
mount.h: Declare getvfs* functions from libc.
...
vfs_init.c: Fix fs_sysctl() so that getvfs* functions actually work.
1994-09-22 01:05:09 +00:00
Garrett Wollman
4b1e44f14a
Build LKMs for all ``easy'' filesystems. (lfs can be done, but it's more
...
work; ditto NFS and it's even more work.)
1994-09-21 23:27:16 +00:00
Garrett Wollman
67bfdf835b
Fix a few niggling little bugs:
...
- set args->lkm_offset correctly so that VFS modules can be unloaded
- initialize _fs_vfsops.vfc_refcount correctly so that VFS modules can
be unloaded
- include kernel.h in a few placves to get the correct definition of DATA_SET
1994-09-21 23:22:52 +00:00
Bruce Evans
f6d370a798
Fix the consistent mistranslation of Linux's get_fs_word() and
...
put_fs_word() to fuword() and suword(). Linux words are 16 bits
but BSD words are 32-bits, at least on vax's. Writing a too-large
word trashed the neighbouring short word.
Bruce
1994-09-21 22:22:48 +00:00
Bruce Evans
ccadde2151
Fix compiler warnings.
1994-09-21 21:58:39 +00:00
David Greenman
36317691a4
#if 0'd evil dynamic fifo trigger level adjustment; it just bit me and
...
a couple of other people again.
1994-09-21 19:39:25 +00:00
David Greenman
354c733261
From 1.1.5:
...
>date: 1994/05/27 01:09:16; author: ache; state: Exp; lines: +3 -3
>Russian keymap: Ctrl-Alt-Del with NumLock on fixed
1994-09-21 18:43:08 +00:00
David Greenman
11fe0935dd
From 1.1.5:
...
>date: 1994/06/15 14:35:30; author: paul; state: Exp; lines: +3 -3
>CHanged MAXMEM to ISMAXMEM for safety
1994-09-21 18:33:23 +00:00
David Greenman
868424648b
Fixed up a couple of comments.
1994-09-21 18:17:56 +00:00
Garrett Wollman
1aa57be361
Make it easier to create filesystem LKMs by doing most of the
...
work in the Makefile. Just define VFS_LKM and you're off!
1994-09-21 03:49:59 +00:00
Garrett Wollman
c901836c14
Implemented loadable VFS modules, and made most existing filesystems
...
loadable. (NFS is a notable exception.)
1994-09-21 03:47:43 +00:00
Jordan K. Hubbard
84cc2dc332
Add entry for transputer (cdev 8).
...
Reviewed by: jkh
Submitted by: luigi
1994-09-21 01:33:00 +00:00
Jordan K. Hubbard
db814a26b3
Add entries for transputer driver.
...
Reviewed by: jkh
Submitted by: luigi
1994-09-21 01:30:15 +00:00
Jordan K. Hubbard
27552c6f58
Add the transputer driver from Christoph Niemann, Luigi Rizzo and
...
Lorenzo Vicisano
Reviewed by: jkh
Submitted by: luigi
1994-09-21 01:29:41 +00:00