kato
5d5aad2b7b
Sync with sys/i386/conf/GENERIC revision 1.106.
1998-02-16 09:37:57 +00:00
kato
d126f7c00d
Sync with sys/i386/boot/*/Makefile (Eivind's change: Make bootblock
...
building independent of /usr/include if relative includes are
available).
1998-02-16 09:37:18 +00:00
msmith
71765f5121
TEMPORARILY disable support for the 4MB kernel page, as it appears to be
...
causing installation images for -current to be unbootable.
Submitted by: phk
1998-02-16 00:29:05 +00:00
eivind
b5aaf93a53
Make bootblock building independent of /usr/include if relative
...
includes are available.
1998-02-15 21:38:19 +00:00
phk
ba776d443a
A bunch of nits from bde.
...
Make the name "pps" all over the place.
Remove the hardcoded 10us offset, use sawtooth for it.
1998-02-15 14:54:09 +00:00
peter
f62f770acb
Update to support SI/XIO PCI host cards (Z280 based) and the enhanced
...
SXISA and SXPCI host cards (Transputer based).
PR: 4836, 5021, 5654
Submitted by: Nick Sayer <nick@specialix.com>
1998-02-15 14:42:33 +00:00
phk
369a4922e3
A bunch of nits from bde.
1998-02-15 14:15:21 +00:00
phk
65d335ce82
Add a nanotime() function so that we can start to use this call.
1998-02-15 13:55:06 +00:00
phk
9b84234e63
unifdef -UEXT_CLOCK fdef -UEXT_CLOCK, it is irrelevant.
...
Fix a couple of nits from bde while here anyway.
1998-02-15 13:50:12 +00:00
kato
eb21aa8bb0
Sync with sys/i386/isa/npx.c revision 1.57.
1998-02-15 11:19:15 +00:00
kato
295276ab74
Sync with sys/i386/isa/sio.c revision 1.197.
1998-02-15 11:18:47 +00:00
jkh
e7e4c82493
Revert part of my previous patch - I don't see the *need*
...
to call splbio() from within an interrupt handler here. :-)
1998-02-15 08:28:26 +00:00
jkh
3923d0f80a
missing spl() call and off by one error in the handling of the partitions.
...
Submitted by: Chris Csanady <ccsanady@friley585.res.iastate.edu>
Obtained from: OpenBSD
1998-02-15 08:14:39 +00:00
bde
6a55e98a33
Removed a superstitious fnop() that broke the usefulness of the FPU's
...
"last instruction" pointer.
1998-02-15 06:25:26 +00:00
bde
1743f0cdee
Fixed an aliasing bug. It was too easy to defeat the check for moving
...
or shrinking an open partition (by changing the label for a compatibility
slice while partitions on the corresponding real slice are open, or vice
versa).
1998-02-15 05:41:31 +00:00
dyson
fbe6fe8df6
Make the rootdir handling more consistent. Now, processes always
...
have a root vnode associated with them, and no special checks for
the null case are needed.
Submitted by: terry@freebsd.org
1998-02-15 04:17:09 +00:00
nate
ee159ceede
- If a PCCARD serial device is removed from the system, let the serial
...
driver 'break out' of the infinite loop waiting for a response from
it. This is a bad thing, but no worse than having the kernel hang.
1998-02-14 16:17:17 +00:00
kato
a0c428b214
Sync with sys/i386/conf/majors.i386 revision 1.27.
1998-02-14 08:40:09 +00:00
kato
c49d3ffe6d
Sync with sys/i386/isa/syscons.c revision 1.256.
1998-02-14 08:39:35 +00:00
pst
81b6e7dabd
Change wfd major block device to 1 as part of the effort to make wfd's
...
bootable without a big increase in boot2's size.
1998-02-13 22:41:00 +00:00
phk
185fab4e32
Fix a couple of lines that dropped out in my merge yesterday.
...
Complained about by: ache
1998-02-13 17:54:53 +00:00
phk
1ae301cadb
Man, twice in as many days. Gotta learn to check that uname.
1998-02-13 17:35:33 +00:00
kato
a2c02d8f2d
Sync with sys/i386/isa/syscons.c revision 1.255.
1998-02-13 16:59:01 +00:00
kato
e50588385a
Sync with sys/i386/conf/majors.i386 revision 1.26.
1998-02-13 16:57:31 +00:00
phk
4b33cbe49a
Add a skelleton pulse-per-second timing driver. This will become more
...
useful when I get my timecounter changes past the Bruce-filter.
1998-02-13 13:00:02 +00:00
phk
76528cc622
Implement the spirit but not the letter of Terrys hot-char patch.
...
The differences Terrys patch and this patch are:
* Remove a lot of un-needed comments.
* Don't put l_hotchar at the front of stuct linesw, there is no need to.
* Use the #defines for the hotchar in the SLIP and PPP line disciplines
1998-02-13 12:46:28 +00:00
phk
3a8117ec4d
Hmm, it is generally an advantage to commit the most recent version of
...
ones changes: A faster character painter procedure and fix on cursor
bug.
1998-02-13 11:31:34 +00:00
kato
c0ce8e5301
Use RDMSR instruction instead of WRMSR.
1998-02-13 09:34:42 +00:00
kato
cf182e9c4c
Sync with sys/i386/isa/npx.c revision 1.56.
1998-02-13 09:32:50 +00:00
kato
0c954cc6d4
Sync with sys/i386/isa/clock.c revision 1.110.
1998-02-13 09:32:17 +00:00
kato
c31348ec3f
Sync with sys/i386/isa/syscons.c and syscons.h revisions 1.254 and
...
1.37, respectively.
1998-02-13 09:31:35 +00:00
bde
f571342745
Staticized.
1998-02-13 07:34:52 +00:00
bde
b8c473161f
Don't (conditionally) override the kernel's min() and max() functions
...
with macros. This breaks if the functions are replaced by macros with
unsuitable semantics. Define a MAX() macro unconditionally instead.
max() is unsuitable since we need a constant expression. Don't define
MIN() - we never used min().
1998-02-13 07:09:38 +00:00
bde
ef1ebbaf54
Ifdefed SMP-only declarations.
1998-02-13 06:59:22 +00:00
bde
6ef28c2f03
Don't generate warnings for test coverage checking when compiling LINT.
...
Generate code instead.
1998-02-13 06:49:16 +00:00
bde
c0758a12df
Update timer0_prescaler_count before calling hardclock() while timer0
...
is "acquired". This fixes a TSC biasing error of about 10 msec when
pcaudio is active.
Update `time' before calling hardclock() when timer0 is being released.
This is not known to be important.
Added some delays in writertc(). Efficiency is not critical here, unlike
in rtcin(), and we already use conservative delays there.
Don't touch the hardware when machdep.i8254_freq is being changed but
the maximum count wouldn't change. This fixes jitter of up to 10 msec
for most small adjustments to machdep.i8254_freq. When the maximum
count needs to change, the hardware should be adjusted more carefully.
1998-02-13 06:33:16 +00:00
bde
793b3fcc96
Ifdefed some npx code. npx should be optional again.
1998-02-13 05:30:18 +00:00
bde
14ad8584c4
Fixed missing privilege checking and off-by-1 bounds checking in
...
i386_set_ioperm(). Don't use a magic number for the bound.
Fixed missing bounds checking in i386_get_ioperm(). Don't use a
magic number for the bound elsewhere in this function.
Removed some bogus initializers.
1998-02-13 05:25:37 +00:00
bde
e159c8ff97
Ensure that the linker sets for commands exist by putting a standard
...
command in each of them. This removes the need for hard-to-configure
dummy instantiations of the sets.
1998-02-13 02:19:29 +00:00
bde
b28763a6b1
Fixed configuration and linkage of ext2_checkoverlap().
1998-02-13 00:28:40 +00:00
bde
227f4a2d7c
Removed unnecessary dependencies on KERNEL and DIAGNOSTIC. This was
...
more useful when opt_diagnostic.h had to be included.
1998-02-13 00:20:36 +00:00
bde
e1dfa900e4
Fixed staticization (the behaviour is undefined when something with
...
external linkage is redeclared as static).
1998-02-12 23:16:12 +00:00
bde
c4b1f98d98
Unstaticized.
1998-02-12 22:33:33 +00:00
phk
e19355cd15
Add support for VESA mode 0x102 (800x600x4) in syscons. You can activate
...
this using option "-b" to the boot blocks. It is smartest to compile
a font into your kernel (See LINT), but not mandatory, but apart from
the cursor you will see nothing on the screen until you load a font.
This mode allows XF86_VGA16 to run in 800x600 mode on otherwise unsupported
graphics hardware.
A number of buglets in the cursor handling in syscons may become
visible this way.
1998-02-12 22:05:08 +00:00
bde
6c89270e25
Fixed initialization of the 4MB page. Kernels larger than about 2.75MB
...
(from _btext to _end) crashed in pmap_bootstrap(). Smaller kernels
worked accidentally.
1998-02-12 22:00:01 +00:00
bde
7da6f05e3f
Only use the i586-optimized copying and zeroing functions if they are
...
actually faster (more than 20% faster for zeroing 1 MB at boot time).
This fixes pessimized copying and zeroing on K6's and perhaps on other
CPUs that are misclassified as i586's.
1998-02-12 21:41:10 +00:00
phk
796a7e782c
Fix a white-space nit which I happened to notice.
1998-02-12 20:52:24 +00:00
phk
e5a46b0176
Add display of type KD_PIXEL.
1998-02-12 20:47:39 +00:00
eivind
e51227b005
Make NO_LKM a new-style option.
...
Forgotten by: dima
1998-02-12 18:02:07 +00:00
yokota
7fbfde19dc
Oops, sorry, a #define line for my debugging session slipped into
...
the last commit ;-<
1998-02-12 16:35:11 +00:00