des
5a1181a557
ovbcopy -> bcopy
2003-04-04 12:56:20 +00:00
des
fd534acfd9
Replace ovbcopy() with bcopy().
2003-04-04 12:15:20 +00:00
des
ada79efc07
Replace memcpy() and ovbcopy() with bcopy(); ditch some caddr_t usage.
2003-04-04 12:14:00 +00:00
des
c011a79e99
Don't use ovbcopy().
2003-04-04 12:12:34 +00:00
des
125c5f9ff8
Don't use ovbcopy(); use void * instead of char *.
2003-04-04 12:11:46 +00:00
des
735100a9f0
The kernel bcopy() is safe for overlapping regions (and always has), so
...
there is no use for a separate ovbcopy().
2003-04-04 12:10:04 +00:00
des
9dc45d46b9
Rename a static variable to avoid future conflicts.
2003-04-04 12:08:42 +00:00
ume
eb6d89b383
Set link-local address of tun interface with prefixlen = 64
...
instead of 128. It makes RA happy.
Reported by: rafa@dif.um.es ,
SHIRASAKI Yasuhiro <yasuhiro@nttv6.jp>
Reviewed by: SHIRASAKI Yasuhiro <yasuhiro@nttv6.jp>
MFC after: 1 week
2003-04-04 11:09:08 +00:00
ru
db5ec15123
-Wall implies -Wuninitialized if -O is also in effect.
...
-Wuninitialized does not work without -O.
This fixes the ${WARNS} > 4 compilations with -O0.
Spotted by: marcel
2003-04-04 10:47:06 +00:00
mdodd
71a96a3848
Add a manpage for the 'vpd' driver.
2003-04-04 10:12:09 +00:00
jake
098b68fc78
Bandaid fix for previous commit while I figure out why it broke. This
...
caused crashes early in boot on i386 UP machines.
Reported by: phk
Pointy hat to: jake
2003-04-04 10:09:44 +00:00
orion
ff6ab443fd
Additional codec ids.
2003-04-04 07:37:25 +00:00
orion
63feb03082
Fix mismatch between bus address stored for buffer descriptors and
...
actual address of buffer descriptor. This should fix the reported
calibration failures and subsequent speed problems with ich chipsets.
Minor calibration comment updates.
2003-04-04 07:15:19 +00:00
murray
8bcc5c907b
Add release of FreeBSD 4.8.
...
MFC after: 3 days
2003-04-04 06:59:27 +00:00
alc
3c03fd9f54
o Remove useracc() calls from aio_qphysio(); they are redundant
...
given the checks performed by vmapbuf().
Reviewed by: tegge
2003-04-04 06:26:28 +00:00
alc
cbd6318ffd
o Check the b_bufsize passed to vmapbuf() returning an error
...
if it is invalid.
o Remove a debugging printf() from vmapbuf().
Suggested by: tegge
2003-04-04 06:14:54 +00:00
imp
b72dee7e43
Simplify compatibility ifdef.
2003-04-04 04:39:29 +00:00
imp
106c479ccd
No need to check to see if we're running a version of FreeBSD 3.0 current or
...
newer anymore.
2003-04-04 04:17:14 +00:00
imp
5926797d54
No need to have ifdef < FreeBSD 4.0-current in here. Remove it to
...
avoid false positive while searching for __FreeBSD_version abuse.
2003-04-04 04:16:06 +00:00
marcel
578041b6e2
Remove `#ifndef lint' left behind after previous change.
2003-04-04 02:12:56 +00:00
tjr
cc09a6b3db
G/C tconv: It is libmytinfo-dependent and has not compiled for 3+ years.
2003-04-04 01:10:25 +00:00
jake
68ea55c962
- Removed APTD and associated macros, it is no longer used.
...
BANG BANG BANG etc.
Sponsored by: DARPA, Network Associates Laboratories
2003-04-03 23:44:35 +00:00
phk
383d50b298
Output machdep.guessed_bootdev as an integer rather than try to format
...
it according to ancient and obsolete rules.
This removes one more user of <sys/diskslice.h>
2003-04-03 21:41:14 +00:00
obrien
96d4258af9
Use __FBSDID rather than rcsid[].
2003-04-03 21:36:33 +00:00
bmah
2ccfc29d0b
Fix typo: On the relevant architectures, floppy drives are handled by
...
the fdc(4) driver, not the fd(4) file descriptor files.
Submitted by: Peter B <pb@ludd.luth.se>
MFC after: 1 week
2003-04-03 21:23:31 +00:00
mux
d2962d1a1c
Remove useless initialization.
2003-04-03 20:39:43 +00:00
ps
986a7d95d4
Add support for the HP Smart Array 6400 EM
...
Change the interrupt mask for the Smart Array 6xxx controllers after
discussions w/ HP.
2003-04-03 20:09:27 +00:00
phk
ffdec08c2c
Retire the DIOCGMBR ioctl before anybody starts to use it.
2003-04-03 19:37:40 +00:00
phk
8207e9e353
Remove BIO_SETATTR from non-GEOM part of kernel as well.
2003-04-03 19:22:32 +00:00
phk
cbe207a30e
Remove all references to BIO_SETATTR. We will not be using it.
2003-04-03 19:19:36 +00:00
phk
aba0028d27
Update the initializer for GEOM_MBREXT, I overlooked it previously.
2003-04-03 19:05:03 +00:00
phk
3288c86f74
Add #define for DOSPTYP_PMBR, and use it.
2003-04-03 18:55:16 +00:00
jake
aca72a7a77
Add optimized block copy and zero functions using vis instructions, which
...
can do 64 bytes at a time and don't allocate lines in the L2 cache. These
assume that everything is 64 byte aligned, and that there's more than 128
bytes of data (best for whole pages). The block load and store instructions
don't follow normal memory ordering rules and require either a memory barrier
or move between registers before the data can actually be used. This
implementation correctly shuffles around 3 out of the 4 sets of registers
in order to avoid memory barriers expect for the last 2 blocks.
2003-04-03 18:43:40 +00:00
mux
9fc72a0ca0
Fix fxp(4), this changed shouldn't have crept in.
...
Pointy hat to: mux
Reported by: Pawel Worach <pawel.worach@nordea.com>
2003-04-03 18:39:48 +00:00
yar
6dd591ce7c
Stop logging ``authpriv'' messages to the world-readable file
...
/var/log/messages. Such messages are for the eyes of authorized
personnel only.
PR: conf/48170
Discussed in: freebsd-security
MFC after: 2 weeks
2003-04-03 18:37:49 +00:00
jake
5b5fd1b87a
Add support for saving and restoring kernel floating point state. The state
...
will be saved if we context switch as a result of an interrupt which occured
while using the floating point registers in the kernel (which actually can't
happen right now). This allows fp disabled traps in the kernel, which
normally shouldn't happen, so make sure the trapping code is what we expect
it is.
2003-04-03 18:34:05 +00:00
jake
d37e146719
- Add space for kernel floating point registers to the pcb. These will be
...
used to support block copy and zero operations in the kernel which use the
floating point registers.
- While I'm changing the size, improve the layout of struct pcb, sort by size,
then alphabetical etc.
- Add some assertions to validate assumptions made about how the pcb is
allocated.
2003-04-03 18:28:03 +00:00
jake
ffcfcc8152
- Generally improve register usage in cpu_switch. Use the 'in' registers
...
for temporaries relating to the state of the new process instead of the
outs, so that functions can be called without fear of clobbering them.
- Use savefpctx instead of rolling our own.
2003-04-03 16:36:01 +00:00
des
c115d3b2c0
<sys/disk.h> -> <geom/geom_disk.h>
2003-04-03 16:28:57 +00:00
jake
98b50a6e47
Don't assume the fp state is at offset 0 in the pcb.
2003-04-03 16:04:18 +00:00
jake
4c3ebbad66
Fix typos (don't use * when taking the size of an array).
2003-04-03 15:50:17 +00:00
mux
63b6b25833
Remove all the bogus volatile qualifiers from the structs definitions
...
and associated evil casts to discard them.
2003-04-03 14:08:35 +00:00
nyan
5fd79994ea
MFi386: revision 1.188
2003-04-03 12:39:51 +00:00
nyan
159bd982cb
MFi386: revision 1.561
2003-04-03 12:39:18 +00:00
phk
0c329c8757
Don't pull in geom_enc.c any more.
2003-04-03 12:36:56 +00:00
phk
9e2f75eb24
#include <sys/endian.h> as needed.
2003-04-03 11:56:10 +00:00
phk
f14c63f8a8
Remove geom_enc.c, a superset of these functions are now available in
...
<sys/endian.h>
2003-04-03 11:40:06 +00:00
phk
25c7685ca9
Use <sys/endian.h> instead of geom_enc.c for endianess-agnostification.
2003-04-03 11:36:53 +00:00
phk
34a3abe946
Use sys/endian.h instead of geom_enc.c for endian-agnostfication.
2003-04-03 11:33:51 +00:00
phk
f8257495cf
Pointy hat commit:
...
Don't Cut&Paste from big endian to little endian function without subsequent
adjustments.
2003-04-03 11:32:01 +00:00