Bruce Evans
e04520cef3
Ensure normal selection and alignment of the text and data sections before
...
including files. vector.s sometimes left the data section misaligned
(depending on the configuration) so all the time-critical globals in icu.s
were sometimes misaligned.
1994-09-28 03:37:49 +00:00
Poul-Henning Kamp
9570795993
A minor slip, ktrnamei() is void, not int.
1994-09-27 21:26:56 +00:00
David Greenman
1ffd2a2cbd
Previous commit should have read ...in vm_page_alloc_contig().
...
...(this commit): moved initialization of 'start' to make it more clear
that it is initialized properly (also in vm_page_alloc_contig).
Reviewed by:
Submitted by:
Obtained from:
1994-09-27 20:49:02 +00:00
David Greenman
5992708aea
Fixed another bug, and cleaned up the code.
1994-09-27 20:45:24 +00:00
Poul-Henning Kamp
c3c6d51ea0
Added declarations, fixed bugs due to missing decls. At least one of them
...
could panic a system. (I know, it paniced mine!).
1994-09-27 20:42:59 +00:00
Poul-Henning Kamp
c172c3e66a
ktrace.c: added decl of ktrnamei
...
lkm.h: added decl of lkmdispatch
mount.h: added decl of vfs_busy,vfs_unbusy
syscall: The "created from" changed.
1994-09-27 20:39:54 +00:00
Poul-Henning Kamp
0dc7d9074f
Added
...
options DIAGNOSTIC
options MSDOSFS_DEBUG
1994-09-27 20:36:26 +00:00
Poul-Henning Kamp
24e6444874
Added include of <machine/cons.h> so that cngetc() gets declared.
1994-09-27 20:35:55 +00:00
Poul-Henning Kamp
3810319894
Moved the "relookup" routine into vfs_lookup.c from ufs/ufs/ufs_vnops.c.
...
Several FS's use this, so it doesn't belong in ufs. (unionfs, msdosfs and ufs)
1994-09-27 20:33:41 +00:00
David Greenman
0d040c7eae
Fixed multiple bugs in previous version of vm_page_alloc_contig.
1994-09-27 19:34:16 +00:00
David Greenman
d3c2cf7a80
1) New "vm_page_alloc_contig" routine by me.
...
2) Created a new vm_page flag "PG_FREE" to help track free pages.
3) Use PG_FREE flag to detect inconsistencies in a few places.
1994-09-27 18:00:29 +00:00
David Greenman
4b301dcfc5
First round of changes to get the sound code working in 2.0.
1994-09-27 17:58:30 +00:00
David Greenman
e00fb8aaea
Woops, wrong solution to the problem. Backed out previous fix to ddb.h, and
...
nuked the db_printf() declaration from db_output.h.
Reviewed by:
Submitted by:
Obtained from:
1994-09-27 12:15:56 +00:00
David Greenman
1c7d67ba9c
Nuked db_printf() prototype; it now clashes with the one in db_output.h.
1994-09-27 12:11:09 +00:00
Andrey A. Chernov
7b3e881e50
Bug fixed: cursor shaping in mode swithching produce wrong results for
...
non-fat cursors, cursor_start goes beyond font size.
1994-09-27 11:40:02 +00:00
Poul-Henning Kamp
169cd910b7
Makes gcc silent in sys/ddb.
1994-09-27 03:34:58 +00:00
Andrey A. Chernov
38ddc3a6d6
Refuse text mode switching when proper font not loaded
1994-09-27 01:50:07 +00:00
Garrett Wollman
d2920e07e6
Lots of kernel code requires vnodE_if.h, so provide code to generate it
...
if requested. LKMs which need it should use:
SRCS+= vnode_if.h
CLEANFILES+= vnode_if.h vnode_if.c
These rules were already present for VFS LKMs; now they are enabled all
the time. (VFS LKMs do not need the fragment above; it is still done for them.)
1994-09-26 22:34:04 +00:00
David Greenman
c7d893de7a
Process accounting implementation by Chris Demetriou, with minor local
...
changes.
Obtained from: NetBSD
1994-09-26 21:09:15 +00:00
Paul Traina
d43f5ad71e
Make Cyrix CPU flush internal cache any time it goes into hold state.
...
(Meant to commit this a long time ago... oh well).
1994-09-26 16:56:22 +00:00
Jordan K. Hubbard
380cab623b
Jim Babb's port of the AIC6360 driver.
...
Submitted by: babb
Obtained from: NetBSD
1994-09-26 16:15:45 +00:00
Jordan K. Hubbard
31208007c7
Jim Babb's port of the AIC6360 code.
...
Submitted by: babb
Obtained from: NetBSD
1994-09-26 16:15:06 +00:00
Poul-Henning Kamp
fa69874a39
init_sysent.c was missing the final newline.
1994-09-26 03:27:22 +00:00
Gary Palmer
1295d82e6c
Alterations to silence gcc -Wall. Some unused variables deleted.
...
Reviewed by: davidg
1994-09-26 00:32:59 +00:00
Poul-Henning Kamp
8c0390626e
An ifdef almost hit where it was supposed to go. Joerg owes me a good
...
German beer I think...
1994-09-25 23:37:38 +00:00
David Greenman
c770b47d56
Removed unimplemented subr_rmap.c and unused references to it.
1994-09-25 22:31:11 +00:00
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