summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2004-06-11back out tree breakage. Like, come onTheo de Raadt
2004-06-11vm->vm_minsaddr was uninitialized (nothing realy uses it anyway)Michael Shalayeff
2004-06-11better name for power thread (for power users only)Michael Shalayeff
2004-06-11support IPV6_USE_MIN_MTU, which is needed to run BIND9 well. from kameJun-ichiro itojun Hagino
markus ok
2004-06-11Eliminate a dereference after pool_put when an inactive/no-longer referencedRyan Thomas McBride
table is destroyed in pfr_setflags_ktable. Fix from Chris Pascoe
2004-06-11export cpuid via kproc2, and make ps & top awareTheo de Raadt
2004-06-10Generate SIGTRAP for breakpoint instructions.Mark Kettenis
ok mickey@
2004-06-10From FreeBSD (via rees@umich.edu and nate)Peter Valchev
Initialise `restartcnt' in the newly malloc'd usbd_port structure, as otherwise the junk it contains may cause uhub_explore to give up without ever trying to restart the port. This fixes the following errors I was seeing with a VIA UHCI controller: uhub0: port error, restarting port 1 uhub0: port error, giving up port 1
2004-06-10zero the cif struct correctly.Ryan Thomas McBride
2004-06-10Plug a memory leak in carp_clone_destroy()Ryan Thomas McBride
From Patrick Latifi
2004-06-10Fix a logic error in sglist creation.Miod Vallat
2004-06-10rename struct pf_rule_addr member 'not' to 'neg', as 'not' is a reservedDaniel Hartmeier
keyword in C++. ok henning@, cedric@
2004-06-09Among other tricky (or nice, depending upon your involvment) features,Miod Vallat
the 88Open ABI allows arguments to be passed through registers, then on the stack, the through registers, then on the stack again, with some function signatures. Unfortunately, gcc has not been designed with this possibility in mind, and does not handle this situation optimally (since no sane architecture does this anyway) and will reserve stack storage for the second set of in-registers parameters. Fixing this is quite non-trivial (trust me on this), so in the meantime keep at wasting space stack, but teach varargs about this so that it can compensate correctly.
2004-06-09in theory, vnlock should alays be NULL in the generic lock (sic) functions.Ted Unangst
in reality, sometimes it's not. we don't trust vnlock, and since it's 100% guaranteed to panic if it gets here, just completely stop using it. crash by henning, ok deraadt
2004-06-09Merge in a piece of the SMP branch into HEAD.Artur Grabowski
Introduce the cpu_info structure, p_cpu field in struct proc and global scheduling context and various changed code to deal with this. At the moment no architecture uses this stuff yet, but it will allow us slow and controlled migration to the new APIs. All new code is ifdef:ed out. ok deraadt@ niklas@
2004-06-09rename POOLPAGE macros to pmap_map_directTed Unangst
break out uvm_km_page bits for this case, no thread here lots of testing tech@, deraadt@, naddy@, mickey@, ...
2004-06-09pull in KNF from SMPTheo de Raadt
2004-06-09we trust the calibrated pentium_mhz more, so don't overwrite it unlessTed Unangst
we know the cpu speed has changed. fixes pr3814 from mark pecaut.
2004-06-09fix compilation for !I586_CPU case; ok grange@Damien Miller
2004-06-09Minor sync from the SMP branch.Artur Grabowski
NVRAM_RESET_SOFT -> NVRAM_RESET_JUMP ok deraadt@
2004-06-08always create a stack frame in cpu_switch() and put a stubMichael Shalayeff
for doing page idle zeroing. store the kernele stack pointer into pcb instead of trapframe for debuggers doing stack traces; from kettenis@
2004-06-08Use cpuid_t whenever possible, rather than an angry combination of longMiod Vallat
there and u_long elsewhere. ok marc@ deraadt@
2004-06-08factor out md5 code; ok+tests henning@, djm@, hshoexer@Markus Friedl
2004-06-08fixTheo de Raadt
2004-06-08pull up cpuid_t define from smp branch. Kill alpha specific defininitionMarco S Hyman
of cpuid_t. OK art@ deraadt@
2004-06-08pull ncpus support from smp tree into main branch.Marco S Hyman
remove alpha specific definition of ncpus. OK (and tested on alpha) deraadt@
2004-06-08No need to update runtime in cpu_switch. It's updated in mi_switch justArtur Grabowski
after the return from cpu_switch. ok deraadt@ miod@
2004-06-08Make umass CBI buffer handling consistant with BBB buffer handling byKenneth R Westerback
using sc->data_buffer (not sc->tranfer_data), in the actual data transfer operations. From NetBSD PR #25676. ok tdeval@ deraadt@
2004-06-07Correctly handle an unaligned long long parameter on stack in varargs functions;Miod Vallat
makes some rare situations in the a.out ar working again.
2004-06-07Make deletion of a few addresses much faster on big tables. ok claudio@Cedric Berger
2004-06-07Allow userland to issue ld.d or st.d with a long, but not long long alignedMiod Vallat
address, by recovering from the misaligned address exception.
2004-06-06Multicast cleanupsRyan Thomas McBride
- make multicast ranges work - replace handrolled crc code with ether_crc32_{be,le}() - add missing calls to ether_{add,del}multi() ok deraadt@
2004-06-06Don't touch any hardware registers while fetching hw.cpuspeed andAlexander Yurchenko
just return current pentium_mhz value. Update this value in all hw.setperf hoos either via its own private methods or using global update_cpuspeed hook, if registered. Also implement update_cpuspeed hook for Pentium 3. Tested by millert@, Gabriel Kihlman <gk@stacken.kth.se> and me on various i386 machines. ok tedu@
2004-06-06extend routing table to be able to match and route packets based onCedric Berger
their *source* IP address in addition to their destination address. routing table "destination" now contains a "struct sockaddr_rtin" for IPv4 instead of a "struct sockaddr_in". the routing socket has been extended in a backward-compatible way. todo: PMTU enhancements, IPv6. ok deraadt@ mcbride@
2004-06-06In printf %p doesn't need extra ``0x''Alexander Yurchenko
2004-06-06remove Realtek 8139C+ from re(4) line commentPeter Valchev
2004-06-06- replace hand-rolled crc32 with ether_crc32_be()Ryan Thomas McBride
- make multicast ranges work
2004-06-06portal_connect needs splsoftnet.Ted Unangst
using CMSG_ALIGN was wrong, userland fires in data not so aligned. if fd_getfile returns NULL, don't try to close the fd, since it's not there.
2004-06-05Remove unneeded dependency on wscons_raster.hMiod Vallat
2004-06-05retval may be NULL in fork1, take 2Ted Unangst
2004-06-05re(4) on all mediaTheo de Raadt
2004-06-05re(4) on these media.. for nowTheo de Raadt
2004-06-05regenBrad Smith
2004-06-05add Intel i960 RD PCI-PCI bridge found on Intel EtherExpress PRO/100 Server ↵Brad Smith
adapters as well as the adapter id too.
2004-06-05Make multicast ranges work.Ryan Thomas McBride
ok deraadt@
2004-06-05- replace handrolled crc32 with ether_crc32_be()Ryan Thomas McBride
- make multicast ranges work ok deraadt@
2004-06-05Clean up style in ioctl.Ryan Thomas McBride
ok deraadt@
2004-06-05cleanup, no functional changesPeter Valchev
2004-06-05a step towards 8139C+Peter Valchev
not complete as rl(4) will match it (same device id as 8139)
2004-06-05Missing lockinit().Alexander Yurchenko