summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Define 'arch-powerpc'grehan2003-12-101-0/+8
|
* FICL system-dependent files for powerpc. Taken from the i386 versions,grehan2003-12-102-0/+533
| | | | which were the most relevant.
* imac revA-D and beige G3 OpenFirmware uses the "ide" string forgrehan2003-12-101-1/+2
| | | | ATA drives.
* - removed obsolete ppc_exit/ppc_boot functionsgrehan2003-12-103-38/+122
| | | | | | | - OpenFirmware returns overlapping memory regions. Use a simple brute force algorithm to merge these into non-overlapping regions. This fixes bugs in reporting of available memory and also prevents pages from being added twice in the VM system.
* don't touch after free.ume2003-12-101-2/+3
|
* Add just enough of i386/include/pcvt_ioctl.h to amd64/include/pcvt_ioctl.hobrien2003-12-103-4/+110
| | | | | | such that 'ispcvt' can build. Unforunately 'ispcvt' is needed in order for /etc/rc.d/syscons to run. This fixes the bug where I could not get my keymap effective at boot.
* Add a short description of the kse_switchin(2) syscall to the ksemarcel2003-12-102-2/+14
| | | | | manpage and add a kse_switchin link. While here, list kse_thr_interrupt before kse_wakeup in the MLINKS variable and the synopsis.
* Write the thread pointer (val) in the kse mailbox (loc) before wemarcel2003-12-102-4/+4
| | | | | set the new context in kse_switchin(2). This allows us to return an error to the calling context when the suword() fails.
* accept() returns a file descriptor when it succeeds which is verydeischen2003-12-094-4/+4
| | | | | | | | | likely to be non-zero. When leaving the cancellation point, check the return value against -1 to see if cancellation should be checked. While I'm here, make the same change to connect() just to be consisitent. Pointed out by: davidxu
* Adjust an assertion for the TDF_TSNOBLOCK race handling injhb2003-12-091-2/+3
| | | | | | | turnstile_unpend(). A racing thread that does not have TDI_LOCK set may either be running on another CPU or it may be sitting on a run queue if it was preempted during the very small window in turnstile_wait() between unlocking the turnstile chain lock and locking sched_lock.
* Assert that the we never give a thread a NULL turnstile when waking it up.jhb2003-12-091-0/+2
|
* Revert the previous race fix and replace it with a more general fix. Thejhb2003-12-091-8/+9
| | | | | | | | case of a turnstile having no threads is just one instance of the more general case where the thread we are examining has been partially awakened already in that it has been removed from the turnstile's blocked list but still has TDI_LOCK set. We detect that case by checking to see if the thread has already had a turnstile reassigned to it.
* Add back the national support, this was removed by accident earlier.sos2003-12-091-0/+4
|
* Add support for Moxa Technologies' Smartio CP-104UL/PCI 4S RS232 card.obrien2003-12-091-0/+13
| | | | Submitted by: Guido Falsi <mad@madpilot.net>
* Add two additional headers for amd64 and x86.kan2003-12-091-1/+1
| | | | Reported by: Ollivier Robert
* Remove duplicate script for locore.ogallatin2003-12-091-3/+0
|
* Remove redundant declaration of ddb_trapgallatin2003-12-091-1/+0
|
* 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.
OpenPOWER on IntegriCloud