Commit Graph

126421 Commits

Author SHA1 Message Date
matt a6b639c3a5 Switch to using PSL_USEROK_P()
Use new save_fpu_lwp sematics to save or discard the fpu state appropriately.
2004-04-17 08:47:15 +00:00
mrg d9fb13565a only -D_PC on i386/amd64. from PR#25036. 2004-04-17 06:47:04 +00:00
snj b5746867c3 Lincoln was fatally shot on the 14th, and only the 14th. Move the more
detailed entry from 04/16 to 04/14.
2004-04-17 04:06:55 +00:00
matt be6867a460 Regen. 2004-04-17 01:56:31 +00:00
matt fd311156d1 Add devid of Marvell MV6436x System Controller 2004-04-17 01:56:10 +00:00
matt 8cd24529dc Add a SAVE/DISCARD flag to save_{fpu,vec}_lwp. Use it appropriately.
Nuke struct fpu and use struct fpreg instead (except for the names, they
were identical).  On MP machines, this will avoid an unneeded IPI to save
the register contents that are about to discarded.
2004-04-16 23:58:08 +00:00
christos 7fb1726a27 remove misplaced semi-colons. 2004-04-16 22:46:28 +00:00
christos 25afd895c0 PR/25200: Alan Barrett: bug in pax append mode. This problem was introduced
while trying to fix the tar append mode. Restore the correct 2 null blocks
at the end of file, and disable the old bug compatible mode for gnutar.
2004-04-16 22:45:56 +00:00
dbj d328d71583 This rc.d script attempts to correct problems
which may have been introduced by booting a netbsd-current kernel
from between April of 2003 and January 2004. For more information
see <http://mail-index.NetBSD.org/current-users/2004/01/11/0022.html>
This script was developed as a response to NetBSD pr install/25138

This should not be added to the Makefile or the default install until
it has been further tested
2004-04-16 14:52:52 +00:00
fvdl 7a44f0ad1f Make tracing work better (through interrupts, etc). Essentially a synch
with i386.
2004-04-16 14:21:56 +00:00
atatat 904ca21614 Prefer that kern.hostid is printed in hex, not as a signed decimal,
and avoid accidental sign-extension when setting it.
2004-04-16 13:25:40 +00:00
rtr 3c42c3d0f0 -DHAS_MKSTEMP for auth.c to enable mkstemp()
patch from Nicolas Joly

Should resolve pr#25199
2004-04-16 12:58:06 +00:00
pk f663e2397e checkalias: pass LK_NOWAIT to vget() while holding the spechash spinlock. 2004-04-16 09:59:32 +00:00
hannken 3dc578de5e Make it compile when PPC_HAVE_FPU is not defined. 2004-04-16 08:52:41 +00:00
itojun f4f9ab64b5 update cvs version # 2004-04-16 08:41:26 +00:00
itojun 67ac12deb2 cvs updated to 1.11.15 2004-04-16 04:08:50 +00:00
itojun 8248096c1f upgrade to 1.11.15. includes security fixes.
Stable CVS 1.11.15 has been released. Stable releases contain only
bug fixes from previous versions of CVS. This version fixes serious
security holes in both the client and the CVS server executables
as well as fixing many other bugs, including some file resurrection
issues. We recommend this upgrade for all CVS clients and servers!
2004-04-16 04:07:22 +00:00
itojun 47d72b73de CVS 1.11.15 2004-04-16 03:51:39 +00:00
matt ee00feaab9 Revamp how user MSR/SRR1 are dealt with.
Add a PSL_USEROK_P(psl) macro which valids the bits (replaces the use of
PSL_USERSTATIC).
Add a PSL_USERSRR1 mask which is used to mask out status bits in the upper
half of SRR1.
Make sure PSL_VEC is set appropriately in userret().  PSL_VEC is in the same
region as SSR1 status bits so it's not preserved on exceptions.  Thus we
need to make to set it.
When returning a MSR/SRR1 to userland, always clear the status bits.
Add emulation of the mfpvr, mtmsr, and mfmsr instructions.
2004-04-15 21:07:06 +00:00
nathanw e30c25106f Remove an extraneous use of a 'retval'. 2004-04-15 19:26:58 +00:00
matt ae686a7d48 Use unions to avoid strict aliasing rules. And it makes the code easier
to read.
2004-04-15 19:01:57 +00:00
jwise 42d56e7289 actually, `submission' had already been added elsewhere, so remove this part
of rev 1.73.
2004-04-15 18:29:39 +00:00
jwise 45a0404432 IANA aliases for port 80, and give `http' as the first, as IANA does. 2004-04-15 16:42:15 +00:00
jwise db7bfa1c0c Add assigned ports for mail submission (587), and zephyr udp ports. 2004-04-15 16:39:09 +00:00
thorpej 35a1306bfd There was no need to bump the kernel version for a BPF ioctl change; back
that out.
2004-04-15 15:50:45 +00:00
darrenr 12d715a3ee don't use u_long in an ioctl, rather, u_int64_t so there are no long 32/64
bit compatibility problems.  bump kernel version like it should have been.
2004-04-15 15:17:11 +00:00
drochner 2405f1e72b while there is no pcvt on amd64, wscons emulates it, and xfree86
doesn't like a wscons which doesn't emulate anything, so we have
to use PCVT_SUPPORT to make VT switching work
2004-04-15 15:15:11 +00:00
he a1182cdd25 We need to also clean out athhal-elf-o, so that "make clean; make"
after an initial "make" will also (re)build athhal-elf.o.
2004-04-15 15:02:17 +00:00
tv 7d5e6e5d58 Move -mips2 to CPUFLAGS in each kernel config file as suggested by mrg.
This matches the way other ports specify default CPU codegen options.
2004-04-15 14:58:30 +00:00
darrenr 4800529c7e Add a count of the number of packets that match the bpf filter applied to a
particule device.  In doing this, make a new the bpf_stat structure with
members that are u_long rather than u_int, matching the counters in the bpf_d.
the original bpf_stat is now bpf_stat_old and so to the original ioctl
is preserved as BIOCGSTATSOLD.
2004-04-15 14:56:57 +00:00
drochner dad2483208 whitespace cleanup 2004-04-15 14:55:26 +00:00
drochner 815a909f67 create an .OBJDIR to make it build on a read-only source tree 2004-04-15 14:54:32 +00:00
drochner 403f84395e pass -export-dynamic to the linker, otherwise the dlopen() loader is
pointless
2004-04-15 14:53:40 +00:00
drochner 5f373dba65 use mmap() on amd64 to activate the loader.c hack 2004-04-15 14:52:03 +00:00
drochner 78fc5676ae always #define __AMD64__ on and64 -- xfree86 depends on it 2004-04-15 14:48:41 +00:00
mrg 47a36b2bdc when we have a P4 or a MP system, don't enable performance monitoring.
this fixes PR#25014.  i386 GENERIC can re-enable PERFCTRS by default now
(it was disabled with x86 SMP support was commited to the trunk.)

XXX:  should add P4 support
XXX:  should add MP support
2004-04-15 13:56:32 +00:00
aymeric 8f2774036c . add a missing call to lockinit() in apmattach()
. while here, explicitly initialize three softc variables to 0
2004-04-15 11:03:15 +00:00
pk 299dfa38bf De-__P(). 2004-04-15 10:07:32 +00:00
yamt f502110937 add '.L' prefixes to local labels. 2004-04-15 09:20:29 +00:00
wiz 962fdd9cb4 Remove duplicate word, from jfb@openbsd via jmc@openbsd. 2004-04-15 08:13:29 +00:00
pk dab35b2e8d xcall: increase spin-out; fix diag output. 2004-04-15 08:11:20 +00:00
thorpej 6837b365dd Assign a syslog priority to the AEN codes and use that priority when
logging the error message.  Potentially allows critical messages to be
noticed much more quickly.
2004-04-15 02:03:03 +00:00
dbj 5855f3c3dc fix support for creating APPLE_UFS filesystems with -v
this addresses pr/23924

this includes most of support for creating fslevel 3 compatible filesystems,
although there is currently no command line option to invoke it when
not using apple_ufs
2004-04-14 22:06:33 +00:00
kleink 84c861c7a5 Add documentation for %v. Noted by Havard Eidnes in PR bin/25180. 2004-04-14 21:59:39 +00:00
darrenr 6cfa637a10 * from bpf 1.2a1, use the IO_NDELAY flag in bpfread() to indicate whether or
not a read operation should be allowed to sleep.  This allows the use of
  bd_rtout with a value of "-1" to be eliminated (signed comparison and
  assignment to an unsigned long.)
* in 1.91, a change was introduced that had bpfpoll() returning POLLRDNORM
  set when the timeout expired.  This impacted poorly on performance as well
  as causing select to return an fd available for reading when it wasn't.
  Change the behaviour here to only allow the possibility of POLLIN being
  returned as active in the event of a timeout.
2004-04-14 21:34:26 +00:00
ragge 0a7fe37708 Add back one line which was accidentially removed (by me) a while ago.
Spotted by Markus Friedl (markus at openbsd.org).
2004-04-14 18:07:52 +00:00
dbj f1e11b338f add support for downgrading a filesystem fslevel from 4 to 3 2004-04-14 17:37:11 +00:00
dbj 0270c91526 set fs_old_nrpos to 1 when doing -c4 upgrade.
This isn't used by kernel, but does affect cg layout slightly
2004-04-14 17:35:19 +00:00
ragge 34edcc4638 The 82597 chip may write back some receive descriptors off-by-one when
the PCIX bus start to get heavily loaded.  This only happen when using
chained descriptors, therefore work-around it by providing a private
pool of receive buffers able to contain a full-sized packet.
2004-04-14 17:31:02 +00:00
kanaoka 0c3726ce75 - Remove me for acpi. 2004-04-14 15:45:22 +00:00