summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add code to keep going if you're really intent on fingering someone, butjmallett2003-06-282-4/+16
| | | | can't use utmp(5).
* Synchronize usage() and SYNOPSIS, and fix them (flags are notru2003-06-282-5/+5
| | | | optional here). Sort options. Print the file name on error.
* Punctuation.ru2003-06-281-1/+1
|
* mdoc(7) fix: Use the normal AT&T macro (.At) rather than itsru2003-06-281-1/+1
| | | | internal string in the macro context.
* - Construct a cpu topology map for Hyper Threading systems so that ULE mayjeff2003-06-286-0/+186
| | | | take advantage of them.
* - Add structures for defining cpu topologies more complex than SMP.jeff2003-06-281-0/+27
| | | | | smp_topology may be left NULL by architectures which have vanilla SMP setups.
* Remove GIANT_REQUIRED from kmem_malloc().alc2003-06-281-3/+0
|
* Small fixes for the IOMMU code:tmm2003-06-281-16/+47
| | | | | | | | | | | | 1.) Handle maximum segment sizes which are smaller than the IOMMU page size by splitting up pages across multiple segments if needed; this case was previously unimplemented, and would cause panics. 2.) KASSERT that the physical address is in range; remove a KASSERT that has become pointless. 3.) Add a comment describing what remains to be fixed in the IOMMU code; I plan to address these issues soon. Desired by: dwhite (1)
* MFi386alc2003-06-281-4/+9
| | | | Add vm object locking to pmap_object_init_pt().
* - Add vm object locking to vm_pageout_clean().alc2003-06-281-5/+7
|
* Don't use fuword() and suword() on struct members of type int. Thismarcel2003-06-283-11/+11
| | | | | | | | | | | | happens to work on 32-bit platforms as sizeof(long)=sizeof(int), but wrecks all kinds of havoc (garbage reads, corrupting writes and misaligned loads/stores) on 64-bit architectures. The fix for now is to use fuword32() and suword32() and change the type of the applicable int fields to int32. This is to make it explicit that we depend on these fields being 32-bit. We may want to revisit this later. Reviewed by: deischen
* Don't map LINUX_POSIX_VDISABLE to _POSIX_VDISABLE and vice versa formarcel2003-06-281-2/+4
| | | | | | | | | | | | | | | | the VMIN and VTIME members of the c_cc array. These members are not special control characters. By not excluding these members we changed the noncanonical mode input processing when both members were 0 on entry (=LINUX_POSIX_VDISABLE) as we would remap them to 255 (=_POSIX_VDISABLE). See termios(4) case A for how that screws up your terminal I/O. PR: 23173 Originator: Bjarne Blichfeldt <bbl@dk.damgaard.com> Patch by: Boris Nikolaus <bn@dali.tellique.de> (original submission) Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de> Reminders by: Joseph Holland King <gte743n@cad.gatech.edu> MFC after: 5 days
* utmp.ut_time is not a time_t, do not pass a pointer to it to pr_attime().peter2003-06-281-1/+4
|
* bring in ath-specific test tool; more to followsam2003-06-283-1/+446
|
* correct bus-isicty of D-Link cardssam2003-06-281-2/+2
| | | | Submitted by: Stefan =?iso-8859-1?Q?E=DFer?= <se@freebsd.org>
* update to new 802.11 supportsam2003-06-281-2/+1
|
* Catch up with the English version:hrs2003-06-281-1/+35
| | | | 1.159 -> 1.162 hardware/common/dev.sgml
* Merge the following from the English version:hrs2003-06-288-3/+113
| | | | | | | | | | | 1.5 -> 1.6 hardware/Makefile (new) -> 1.1 hardware/amd64/Makefile (new) -> 1.1 hardware/amd64/article.sgml (new) -> 1.1 hardware/amd64/proc-amd64.sgml 1.4 -> 1.5 hardware/common/hw.ent 1.5 -> 1.6 relnotes/Makefile (new) -> 1.1 relnotes/amd64/Makefile (new) -> 1.1 relnotes/amd64/article.sgml
* Add reference to CAM.simokawa2003-06-281-1/+2
|
* name union.ume2003-06-282-8/+10
|
* Remove a stale comment, fix indentation.luigi2003-06-281-8/+5
|
* whitespace fixluigi2003-06-281-1/+1
|
* enable interrupt routing for mcpcia based systemsticso2003-06-281-53/+44
| | | | Reviewed by: mjacob, gallatin
* MFi386: revision 1.566.nyan2003-06-282-76/+0
|
* Fix several problems related to resume:simokawa2003-06-284-5/+40
| | | | | | | | - Initialize fc->status to process bus reset correctly after resume. - Initialize AT ring buffer pointer. - Requeue stdma to stfree for active IR buffer. - Stop DMA before suspend for safe. - Set powerstate after resume.
* o Use a daemon thread to monitor signal events in kernel, if pendingdavidxu2003-06-2827-1172/+1622
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | signals were changed in kernel, it will retrieve the pending set and try to find a thread to dispatch the signal. The dispatching process can be rolled back if the signal is no longer in kernel. o Create two functions _thr_signal_init() and _thr_signal_deinit(), all signal action settings are retrieved from kernel when threading mode is turned on, after a fork(), child process will reset them to user settings by calling _thr_signal_deinit(). when threading mode is not turned on, all signal operations are direct past to kernel. o When a thread generated a synchoronous signals and its context returned from completed list, UTS will retrieve the signal from its mailbox and try to deliver the signal to thread. o Context signal mask is now only used when delivering signals, thread's current signal mask is always the one in pthread structure. o Remove have_signals field in pthread structure, replace it with psf_valid in pthread_signal_frame. when psf_valid is true, in context switch time, thread will backout itself from some mutex/condition internal queues, then begin to process signals. when a thread is not at blocked state and running, check_pending indicates there are signals for the thread, after preempted and then resumed time, UTS will try to deliver signals to the thread. o At signal delivering time, not only pending signals in thread will be scanned, process's pending signals will be scanned too. o Change sigwait code a bit, remove field sigwait in pthread_wait_data, replace it with oldsigmask in pthread structure, when a thread calls sigwait(), its current signal mask is backuped to oldsigmask, and waitset is copied to its signal mask and when the thread gets a signal in the waitset range, its current signal mask is restored from oldsigmask, these are done in atomic fashion. o Two additional POSIX APIs are implemented, sigwaitinfo() and sigtimedwait(). o Signal code locking is better than previous, there is fewer race conditions. o Temporary disable most of code in _kse_single_thread as it is not safe after fork().
* Use mmap retuned value.davidxu2003-06-282-4/+6
| | | | Reviewed by: deischen
* Temporary disable rwlock based code, replace it with low level KSE lockingdavidxu2003-06-282-0/+184
| | | | | | | code until rtld-elf and libkse can cooperate better, those code can be restored. Reviewed by: deischen
* Write new thread pointer back only when success.davidxu2003-06-282-6/+8
| | | | Reviewed by: deischen
* After thread was interrupted by signal, it should relock mutex.davidxu2003-06-282-4/+2
| | | | Reviewed by: deischen
* if thread is exiting, just returns. kse_thr_interrupt interfacedavidxu2003-06-282-4/+12
| | | | | | | was changed, it needs signal parameter, pass -1 to it, it indicates to interrupt syscall. Reviewed by: deischen
* Implement cpu_set_upcall_kse(). Elementary testing shows that thismarcel2003-06-281-0/+26
| | | | | | | function behaves correctly in principle, but is not expected to be 100% complete. In any case, with this commit we have KSE ported enough to start runtime testing with threaded applications and fix whatever bugs or omissions we encounter. Yay!
* - Don't migrate to stopped cpus.jeff2003-06-281-4/+4
|
* Add regression tests for floating point parsing in scanf(3).das2003-06-282-1/+181
|
* Update to reflect changes in vfscanf.c,v 1.32. Remove bogusdas2003-06-281-35/+14
| | | | | | | documentation for %a, and document it correctly instead. s/one of aefg/one of a, e, f, or g/ Reviewed by: standards@
* Revamp scanf's floating-point-parsing algorithm to supportdas2003-06-281-94/+172
| | | | | | | | [+|-]Inf, [+|-]NaN, nan(...), and hexidecimal FP constants. While here, add %a and %A, which are aliases for %e, and add support for long doubles. Reviewed by: standards@
* Hook grackle system controller/heathrow interrupt controller to PPC build.grehan2003-06-281-0/+2
|
* A module to handle the interrupt controller on Heathrow/Paddingtongrehan2003-06-282-0/+545
| | | | MacIO chips, found on older Mac G3's.
* A module for the Motorola MPC106 system controller aka 'Grackle'grehan2003-06-282-0/+622
| | | | found on older Mac G3's.
* o Change kse_thr_interrupt to allow send a signal to a specified thread,davidxu2003-06-289-149/+354
| | | | | | | | | | | | | | | | | or unblock a thread in kernel, and allow UTS to specify whether syscall should be restarted. o Add ability for UTS to monitor signal comes in and removed from process, the flag PS_SIGEVENT is used to indicate the events. o Add a KMF_WAITSIGEVENT for KSE mailbox flag, UTS call kse_release with this flag set to wait for above signal event. o For SA based thread, kernel masks all signal in its signal mask, let UTS to use kse_thr_interrupt interrupt a thread, and install a signal frame in userland for the thread. o Add a tm_syncsig in thread mailbox, when a hardware trap occurs, it is used to deliver synchronous signal to userland, and upcall is schedule, so UTS can process the synchronous signal for the thread. Reviewed by: julian (mentor)
* - If smp is not started yet don't try to load balance or we'll put threadsjeff2003-06-281-0/+3
| | | | on cpus that aren't running yet.
* Fix POSIX compatible bug for sigwaitinfo and sigtimedwait.davidxu2003-06-281-4/+11
| | | | | | | POSIX says siginfo pointer parameter can be NULL and if the function success, it should return signal number but not zero. The waitset it past should be negatived before it can be used as thread signal mask.
* Attach the amd(4) module to the i386 and pc98 builds only;ru2003-06-281-0/+1
| | | | | | untested on other platforms. Not objected to by: scottl
* - Use an int rather than a vm_pindex_t to represent the desired pagealc2003-06-281-24/+6
| | | | | | color in vm_page_alloc(). (This also has small performance benefits.) - Eliminate vm_page_select_free(); vm_page_alloc() might as well call vm_pageq_find() directly.
* Add a machine depended function thread_siginfo, SA signal codedavidxu2003-06-289-0/+174
| | | | | | | will use the function to construct a siginfo structure and use the result to export to userland. Reviewed by: julian
* o update for new 802.11 supportsam2003-06-281-2/+6
| | | | o fix channel command so channel - does what the man page says
* o update for new 802.11 supportsam2003-06-281-34/+103
| | | | | | o relax some error handling so other drivers (e.g. ath) are usable o revert ap scanning logic to old scheme o add to capability info printing for 11a and 11g
* - Throttle the inherited sleep and run time in sched_fork_kseg(). Thisjeff2003-06-281-4/+4
| | | | | allows us to learn the behavior of a thread much more quickly after it starts up.
* update for 802.11 supportsam2003-06-281-1/+2
|
* switch to new 802.11 supportsam2003-06-281-2/+3
|
OpenPOWER on IntegriCloud