summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove an unused struct definition.deischen2003-12-092-24/+0
|
* Add cancellation points for accept() and connect().deischen2003-12-099-0/+208
|
* pmap_query_bit() should return false if the bit is not set.gallatin2003-12-093-3/+3
| | | | Reviewed by: grehan
* Use the "shut-down" and "reset-all" Forth procedures to halt andgallatin2003-12-095-2/+42
| | | | | | | | | reboot, as calling OF_exit() just hangs a mac. FreeBSD on my G4 800Mhz mac behaves identically to OSX for halt and reboot now. Reviewed by: grehan (who also supplied the concept and sample code)
* Make breakpoint() actually break into ddb.gallatin2003-12-091-5/+6
| | | | Reviewed by: grehan
* Take a stab at fixing some of the macro-nightmare.mtm2003-12-091-46/+23
| | | | | | PTHREAD_NEW_STATE should work as expected now: a thread marked PS_RUNNING will get sent a SIGTHR. Still more cleanups necessary.
* Fix the wrapper function around signals so that a signal handlingmtm2003-12-095-58/+57
| | | | | thread on one of the mutex or condition variable queues is removed from those queues before the real signal handler is called.
* Ugghh, cvs add the functions necessary to lock the global signal actionmtm2003-12-091-0/+91
| | | | table.
* o Add a wrapper around sigaction(2), so we can insert our own wrappermtm2003-12-093-0/+62
| | | | | around signals. o Lock the process global signal action table.
* Enable cancellation points around some syscalls.mtm2003-12-091-28/+28
|
* Don't panic for misalignment traps when the onfault handler is set.marcel2003-12-091-1/+10
| | | | | | | | | | | | | Not all transfers between kernel and user space are byte oriented and thus alignment safe. Especially fuword*() and suword*() are sensitive to alignment but in general more optimal than block copies. By catching the misalignment trap we avoid pessimizing the common case of properly aligned memory accesses which we would do if we were to use byte copies or adding tests for proper alignment. Note that the expectation that the kernel produces aligned pointers is unchanged. This change therefore relates to possible unaligned pointers generated in userland.
* Grammarmtm2003-12-093-3/+3
|
* o Rename devfs_link() to make_symlink() and turn it into a genericmtm2003-12-092-18/+27
| | | | | | symlinking routine. o Modify rc.d/jail to create its own symlink relative to the jail's filesystem
* Fix the build of libski now that we use the "official" MADT tablemarcel2003-12-092-74/+50
| | | | | | definitions. Those are slightly different than the ones we used before ACPI-CA 20031203 got imported. No structural or functional change.
* If fdescfs(5) is mounted in a jail unmount it before devfs(5).mtm2003-12-091-3/+5
| | | | Submitted by: "Scot W. Hetzel" <hetzelsw@westbend.net>
* If rc.d/mountcritlocal is unable to mount local filesystems,mtm2003-12-092-3/+2
| | | | | | | | | | then immediately terminate the shell (during boot this also terminates the parent rc(8) shell). This was the pre-rcNG behaviour. Also, remove an extraneous mount /. PR: conf/57659 Submitted by: yar (with modifications)
* Redirect rc(8) output to a file in the jail's /var/log directory.mtm2003-12-091-1/+1
| | | | | | Previously it was redirected to /dev/null. Submitted by: phk
* Older versions of the intersil firmware is a lot slower than newerimp2003-12-092-1/+8
| | | | | | | | | versions of the firmware. It responds more slowly to commands, and we bogusly failed them. We assume that all versions of the intersil firmware before 1.0 are 10 times slower and will give it 10x the time to finish. # for 5.2 we should always just assume 5s.
* Declare gre(4) as being of IFT_TUNNEL, Like God Intended.bms2003-12-091-2/+2
| | | | Suggested by: fenner
* Use sbufs instead of snprintf for parsing debug strings.njl2003-12-091-13/+12
|
* Sync these two files.obrien2003-12-093-57/+61
|
* Delete madt.h since definitions are now used from actbl.hnjl2003-12-091-122/+0
|
* Changes to the import script to handle the compiler/debugger import.njl2003-12-091-4/+13
|
* This commit was generated by cvs2svn to compensate for changes in r123331,njl2003-12-091-1/+1
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Fix an off-by-one in the compiler path. Originally from iwasaki-san'snjl2003-12-091-1/+1
| | | | | | | | patches for the pmtools port.
* | This commit was generated by cvs2svn to compensate for changes in r123329,njl2003-12-091-1/+0
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Eliminate a warning. Patch has been sent to the vendor.njl2003-12-091-1/+0
| |
* | This commit was generated by cvs2svn to compensate for changes in r123327,njl2003-12-091-1/+9
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Add the APIC_HEADER definition back in and use the correct definitionnjl2003-12-091-1/+9
| | | | | | | | | | for local APIC override (64 bits). Changes have been submitted to the vendor.
* | Use the ACPI-CA definitions for the various APIC tables instead of ournjl2003-12-093-163/+151
| | | | | | | | own.
* | We don't need to call _INI on processor objects now that ACPI-CA doesnjl2003-12-091-7/+0
| | | | | | | | this as it should.
* | Unchanged files that are off the vendor branch.njl2003-12-093-6/+16
| |
* | Local change: In the resume path, give up after waiting for a whilenjl2003-12-091-0/+11
| | | | | | | | for WAK_STS to be set. Some BIOSs never set it.
* | Import for 20031203 file off vendor branch.njl2003-12-091-40/+72
| |
* | Local change: emulate a ReturnOp if the AML expects one but it isn'tnjl2003-12-091-23/+30
| | | | | | | | | | present. Some buggy BIOSs do not have a ReturnOp even though it is required for a function to return a value.
* | Local change: Allow access to the field if it is within the regionnjl2003-12-091-135/+174
| | | | | | | | | | | | size rounded up to a multiple of the access byte width. This overcomes "off-by-one" programming errors in the AML often found in Toshiba laptops.
* | Local change: Put various debugging options under ACPI_DISASSEMBLER.njl2003-12-091-13/+14
| |
* | Unchanged files that are off the vendor branch.njl2003-12-095-34/+129
| |
* | This commit was generated by cvs2svn to compensate for changes in r123315,njl2003-12-0988-962/+1525
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import ACPI-CA 20031203njl2003-12-09100-1199/+1951
| |
| * Remove files on the vendor branch that we no longer use. Some are no longernjl2003-12-091-869/+0
| | | | | | | | | | distributed with ACPI-CA. Note that all of these have been gone from HEAD since 20030228.
* | Use mutex instead of low level thread lock to implement spinlock, thisdavidxu2003-12-092-60/+36
| | | | | | | | avoids signal to be blocked when otherwise it can be handled.
* | Rename _thr_enter_cancellation_point to _thr_cancel_enter, renamedavidxu2003-12-0960-272/+296
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | _thr_leave_cancellation_point to _thr_cancel_leave, add a parameter to _thr_cancel_leave to indicate whether cancellation point should be checked, this gives us an option to not check cancallation point if a syscall successfully returns to avoid any leaks, current I have creat(), open() and fcntl(F_DUPFD) to not check cancellation point after they sucessfully returned. Replace some members in structure kse with bit flags to same some memory. Conditionally compile THR_ASSERT to nothing if _PTHREAD_INVARIANTS is not defined. Inline some small functions in thr_cancel.c. Use __predict_false in thr_kern.c for some executed only once code. Reviewd by: deischen
* | Put on some factor 30+ bikeshed repellent and export the internalpeter2003-12-091-1/+7
| | | | | | | | | | | | | | | | | | | | Makefile.inc1 underscore targets with a big warning that they are intentionally undocumented, subject to change without notice and might poison your dog etc. If you don't know what they are, then they are not meant for you to use. I've added these by hand to so many many trees that I've lost count. I find them rather useful.
* | More reliably check timeout for pthread_mutex_timedlock.davidxu2003-12-092-2/+2
| |
* | Fix a problem where 'make installworld' will fail and leave thegad2003-12-091-13/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | system in a messy state *if* the user is upgrading from a system which has no /libexec to a system which builds a DYNAMICROOT, and if that user has set DISTDIR (as documented for ports, but it turns out that the same variable name is used for a completely unrelated purpose in 'make release'). There are other possible fixes for this issue, and ru@ may later decide to commit one of those fixes. I just wanted some fix in ASAP, and this is the fix that I have tested. Reviewed by: bde, imp, and ru
* | Set __mbrtowc and __wcrtomb correctly when changing to the C/POSIX locale.tjr2003-12-081-0/+14
| | | | | | | | | | | | | | Save __mbrtowc and __wcrtomb and restore them when changing back to the cached locale. Reported by: perky
* | Correct the READ/WRITE CDB direction definition.ps2003-12-081-2/+2
| | | | | | | | Submitted by: John Cagle <john.cagle@hp.com>
* | First pass at attempted debrucification:peter2003-12-082-7/+7
| | | | | | | | | | | | | | | | | | | | - sort the -E switch into the right place. - add previously missing -p pid in usage (from the last few commits). - add -E to usage. - consistently use trfile in the man page. I knew I shouldn't have touched the man page. If I commit to a man page, it just makes people suspicious. :-)
* | Add hints about nForce3 issuespeter2003-12-081-1/+16
| |
OpenPOWER on IntegriCloud