Commit Graph

126187 Commits

Author SHA1 Message Date
christos
90e1f431ca adjust to the sbreserve prototype change. 2004-04-17 15:18:53 +00:00
christos
f13a3d0852 PR/9347: Eric E. Fair: socket buffer pool exhaustion leads to system deadlock
and unkillable processes.
1. Introduce new SBSIZE resource limit from FreeBSD to limit socket buffer
   size resource.
2. make sokvareserve interruptible, so processes ltsleeping on it can be
   killed.
2004-04-17 15:15:29 +00:00
cl
9a39f88e1e add block device driver 2004-04-17 12:56:26 +00:00
cl
e688fd0596 sync with arch/i386/i386/pmap.c:
1.172/yamt
- keep cr3 register and its copy in TSS synchronized.
- defer LDTR loading as well as cr3.
2004-04-17 12:53:27 +00:00
cl
1cfcb16460 - microtime support
- don't report cpu speed in startrtclock()
2004-04-17 12:50:45 +00:00
cl
e22637e9aa report cpu speed correctly 2004-04-17 12:47:38 +00:00
cl
8bde79bdaa - fix event dispatching for event 0
- use struct trapframe instead of struct pt_regs
2004-04-17 12:46:42 +00:00
pk
89f5c8768c When acknowledging a sun4m soft interrupt, read back the pending interrupts
hw register to make sure it gets through on Ross CPUs.
2004-04-17 11:55:06 +00:00
pk
1e5ff8a716 raise_ipi: don't bother fetching the cpu type from memory in order to
avoid one instruction.
2004-04-17 11:50:23 +00:00
pk
727a9ca138 The macro CMP_PTE_USER_READ4M now needs to consider more PTE access
rights combinations, since the access rights table in pmap has changed.
2004-04-17 11:26:36 +00:00
pk
66178209d2 Use fast cross calls for MP cache flush ops. 2004-04-17 10:13:13 +00:00
pk
f714ca590d Add CPUINFO_XMSG_* symbols for use in fast xcall handlers. 2004-04-17 10:07:58 +00:00
pk
ebfb6e3b0a Implement fast trap handlers for TLB and cache flushes. 2004-04-17 10:06:29 +00:00
pk
901271fbc8 Use a fast cross call for TLB flushes. 2004-04-17 10:04:20 +00:00
pk
4eac0385f6 xcallintr: arg3 is gone. 2004-04-17 10:01:55 +00:00
pk
8bc2760490 Add support for fast cross call handlers that execute in the trap window
on the destination CPU. The `fast handler' address takes the place of the
unused fourth argument to xcall().
2004-04-17 10:01:11 +00:00
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