Stefan Eßer
e1b7cfe2bf
Remove unused member reselet from struct tstamp.
1998-07-12 20:32:52 +00:00
Stefan Eßer
e275daef22
Fix size of time stamps (had been time_t before the variable "time" was
...
hidden). Now "ticks" are used, which are 4 byte, not 8 byte in size.
The size mismatch did not matter due to sufficient padding at the end
of the structure that holds time stamps (there is an unused member).
The fix suggested by Bruce Evans used "sizeof (ticks_t)", but I prefer
to use "sizeof ticks", and didn't seem to object in his last mail on
this topic.
Submitted by: bde
1998-07-12 20:26:45 +00:00
Doug Rabson
722a066c80
Set the minimum malloc bucket to 5. In a DIAGNOSTIC kernel, the extra
...
data in struct freelist is larger than 16 bytes on the alpha.
1998-07-12 16:49:54 +00:00
Doug Rabson
8596f3994f
Point at the correct disk location for alpha disklabels.
1998-07-12 16:48:08 +00:00
Doug Rabson
3a43ad8f22
Make sure the packet is aligned correctly for the alpha in if_simloop.
1998-07-12 16:46:52 +00:00
Doug Rabson
7a6c46b55a
Initialise all the fields separately in vattr_null since on the alpha
...
they are not all the same width.
1998-07-12 16:45:39 +00:00
Doug Rabson
52c008e810
Overhaul the spl system so that it actually works properly.
1998-07-12 16:32:10 +00:00
Doug Rabson
8e8c234f4d
Don't bother calling pmap_emulate_reference() from cpu_fork(). It isn't
...
needed and it panics a DIAGNOSTIC kernel.
1998-07-12 16:30:58 +00:00
Doug Rabson
bb8a6f725b
Define option DEC_EB164
1998-07-12 16:28:09 +00:00
Doug Rabson
3a130d871a
Add entry for prom console.
1998-07-12 16:27:34 +00:00
Doug Rabson
8777a8098d
Add some bits and pieces for my test box.
1998-07-12 16:26:52 +00:00
Doug Rabson
d538e9fca6
Update to new interrupt api.
1998-07-12 16:23:19 +00:00
Doug Rabson
45c95fa1d6
Change interrupt api to be closer to intr_create/intr_connect.
1998-07-12 16:20:52 +00:00
Doug Rabson
d19af714d3
Implement CIA interrupts.
...
Obtained from: SRM console magic from NetBSD
1998-07-12 16:17:54 +00:00
Doug Rabson
b46e6c4115
Implement intr_create/intr_connect.
1998-07-12 16:16:22 +00:00
Doug Rabson
2895b128c7
Implement promcncheckc.
1998-07-12 16:15:06 +00:00
Doug Rabson
a85c203100
Add some debug code.
...
Always clear TLB in pmap_activate, even if activating curproc's pmap.
1998-07-12 16:13:54 +00:00
Doug Rabson
78e3c75746
Add a couple of sysctls and implement sendsig/sigreturn.
...
Obtained from: signal code from NetBSD
1998-07-12 16:10:52 +00:00
Doug Rabson
56abfaf4eb
Add some generic interrupt dispatch code.
1998-07-12 16:09:30 +00:00
Doug Rabson
cefd88ce75
Add definition of p_switchtime.
1998-07-12 16:08:15 +00:00
Doug Rabson
3b7389bd33
Include opt_ddb.h.
1998-07-12 16:07:43 +00:00
Doug Rabson
323df54807
Hardwire the root disk of my test box for now.
1998-07-12 16:07:05 +00:00
KATO Takenori
0faba01ed8
Sync with sys/i386/conf/Makefile.i386 revision 1.117.
1998-07-12 14:30:54 +00:00
Bruce Evans
a872b9bdd0
Removed historical dependencies on `Makefile'. They had rotted to being
...
mostly for objects that have the fewest dependencies on `Makefile'
(since they were mostly for utilities and objects generated from *.s
and these don't depend on profiling flags).
Give an explicit rule for building vnode_if.o. This fixes building
it without ${PROF}.
Use .ORDER instead of a stamp file to avoid building vnode_if.[ch]
concurrently.
Removed explicit dependencies that will be generated by `make' (.c.o)
or will be generated by mkdep.
Added missing dependencies of special objects on opt_global.h.
Use ${NORMAL_C} instead of special rules for special objects where
possible.
FIxed dependencies of vers.o.
1998-07-12 10:47:32 +00:00
Bruce Evans
784c3c3465
Removed all traces of PARAM in Makefile.i386. Incremented CONFIGVERS
...
to reflect the dependency of Makefile.i386 on nothing being put in
PARAM.
Config versioning is too closely coupled with the Makefile.i386.
1998-07-12 09:52:45 +00:00
Bruce Evans
95de6ecfe8
Prepare to handle MAXUSERS as a normal option.
1998-07-12 01:48:14 +00:00
KATO Takenori
c435f1ef25
Sync with sys/i386/isa/wd.c revision 1.171.
1998-07-11 17:02:48 +00:00
KATO Takenori
13992e6dc1
Sync with sys/i386/isa/fd.c revision 1.116.
1998-07-11 17:02:07 +00:00
KATO Takenori
70e1187f6c
Sync with sys/i386/isa/diskslice_machdep.c revision 1.28.
1998-07-11 17:01:25 +00:00
KATO Takenori
e1c32d9d2d
Sync with sys/i386/i386/machdep.c revision 1.303.
1998-07-11 17:00:33 +00:00
Bruce Evans
bef7db2e66
Moved definition of fscale from param.c to kern_synch.c where it
...
should always have been (it has no user-servicable parts even at
compile time) and staticized it.
1998-07-11 13:06:41 +00:00
Bruce Evans
a435d1e61b
Fixed printf format errors.
...
Use offsetof() instead of null pointer hacks.
1998-07-11 12:17:07 +00:00
Bruce Evans
92c4c4eb52
Fixed printf format errors.
1998-07-11 12:07:52 +00:00
Bruce Evans
fc62ef1fb5
Fixed printf format errors.
1998-07-11 11:30:46 +00:00
Bruce Evans
767dfb80f8
Fixed printf format errors.
1998-07-11 11:10:46 +00:00
Bruce Evans
da2181925b
Fixed printf format errors.
1998-07-11 10:51:01 +00:00
Bruce Evans
2f18a2801b
Fixed printf format errors.
1998-07-11 10:45:45 +00:00
Bruce Evans
ed62fb52ec
Fixed printf format errors.
1998-07-11 10:28:47 +00:00
Poul-Henning Kamp
3d1af38b35
Don't disable pmap_setdevram() which isn't called, but which could be,
...
but instead disable pmap_setvidram() which is called, but probably
shouldn't be.
PR: 7227, 7240
1998-07-11 08:29:38 +00:00
Poul-Henning Kamp
3bc7e56592
Improve a couple of comment.
...
PR: 7242
Reviewed by: phk
Submitted by: Peter Jeremy <peter.jeremyp@alcatel.com.au>
1998-07-11 08:01:18 +00:00
Bruce Evans
ac1e407b32
Fixed printf format errors.
1998-07-11 07:46:16 +00:00
Bruce Evans
a838d83d8f
Don't pretend to support ix86's with 7-bit ints by using longs just to
...
ensure 8-bit variables. Doing so mainly bogotified some printf formats.
1998-07-11 06:35:39 +00:00
Bruce Evans
88bf59fcda
Don't pretend to support ix86's with 16-bit ints by using longs just to
...
ensure 32-bit variables. Doing so mainly bogotified some printf formats.
Fixed disorder in md_var.h.
1998-07-11 05:59:35 +00:00
Bruce Evans
00be8601cd
Don't pretend to support ix86's with 16-bit ints by using longs
...
just to ensure 32-bit variables. Doing so broke and/or pessimized
i386's with 64-bit longs (unnecessary use of 64-bit variables
caused remarkably few problems in C code, but the inline asm here
tended to fail because there are no 64-bit registers). Since the
interfaces here are very machine-dependent and shouldn't be used
outside of the kernel, use a standard types of "known" width instead
of fixed-width types.
Changed all quad_t's to u_int64_t's. quad_t isn't standard, and
using signed types for 64-bit registers was bogus (but made no
difference).
1998-07-11 04:58:25 +00:00
Julian Elischer
e06ccb171b
Add ipforward option
1998-07-11 04:46:27 +00:00
Bruce Evans
9d508ad2d9
Don't pretend to support ix86's with 16-bit ints by using longs just
...
to ensure 32-bit variables. Doing so broke i386's with 64-bit
longs. Use fixed-size integral types instead of plain ints, shorts,
chars and pointers since the bootinfo struct layout is a binary
interface. The boot blocks could reasonably be implemented using
16-bit code.
1998-07-11 04:02:49 +00:00
Jordan K. Hubbard
d14897d381
Quick and dirty support for Linux's mremap. Not used by anything
...
but quake2 AFAIK.
Submitted by: Luoqi Chen <luoqi@watermarkgroup.com>
1998-07-10 22:30:08 +00:00
Alexander Langer
c5b75d8223
Removed no longer valid comment about swb_block being int instead of
...
daddr_t.
PR: 7238
Submitted by: Stefan Eggers <seggers@semyam.dinoco.de>
1998-07-10 21:50:17 +00:00
Alexander Langer
427e99a0b8
Removed unnecessary test from if/else construct.
...
PR: 7233
Submitted by: Stefan Eggers <seggers@semyam.dinoco.de>
1998-07-10 17:58:35 +00:00
Bruce Evans
930a642372
Oops, fptrint_t still needs to be declared in <machine/profile.h> in the
...
!KERNEL case. The kludge to get it declared in libc/gmon/mcount.c wasn't
sufficient because fptrint_t is used in <sys/gmon.h>.
1998-07-10 09:26:41 +00:00