summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add ng_atmpif: a HARP physical interface emulation. This allows oneharti2003-08-1111-2/+2131
| | | | | | to run the HARP ATM stack without real hardware. Submitted by: Vincent Jardin <vjardin@wanadoo.fr>
* Add the mlockall()/munlockall() system call manual page from NetBSD.bms2003-08-111-0/+140
| | | | | | | | PR: kern/42426, standards/54223 Obtained from: NetBSD Reviewed by: jake, alc Approved by: jake (mentor) MFC after: 2 weeks
* Add the new arguments for the add pvc command to the help information.harti2003-08-111-1/+3
| | | | | | | Correct a comment. Submitted by: Vincent Jardin <vjardin@wanadoo.fr> MFC after: 3 days
* Add the mlockall() and munlockall() system calls.bms2003-08-1117-37/+180
| | | | | | | | | | | | | | | | | | | | | | | - All those diffs to syscalls.master for each architecture *are* necessary. This needed clarification; the stub code generation for mlockall() was disabled, which would prevent applications from linking to this API (suggested by mux) - Giant has been quoshed. It is no longer held by the code, as the required locking has been pushed down within vm_map.c. - Callers must specify VM_MAP_WIRE_HOLESOK or VM_MAP_WIRE_NOHOLES to express their intention explicitly. - Inspected at the vmstat, top and vm pager sysctl stats level. Paging-in activity is occurring correctly, using a test harness. - The RES size for a process may appear to be greater than its SIZE. This is believed to be due to mappings of the same shared library page being wired twice. Further exploration is needed. - Believed to back out of allocations and locks correctly (tested with WITNESS, MUTEX_PROFILING, INVARIANTS and DIAGNOSTIC). PR: kern/43426, standards/54223 Reviewed by: jake, alc Approved by: jake (mentor) MFC after: 2 weeks
* Fix sparc64 LINT build. <blush>jake2003-08-111-2/+4
|
* This commit was generated by cvs2svn to compensate for changes in r118765,njl2003-08-111-2/+2
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Fix AcpiOsMapMemory to match the function definition. Don't use UINT32njl2003-08-111-2/+2
| | | | | | | | | | | | as a cast for a pointer. Change has been submitted to the vendor. Pointed out by: marcel, obrien
* | More pipe changes:silby2003-08-116-49/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | From alc: Move pageable pipe memory to a seperate kernel submap to avoid awkward vm map interlocking issues. (Bad explanation provided by me.) From me: Rework pipespace accounting code to handle this new layout, and adjust our default values to account for the fact that we now have a solid limit on allocations. Also, remove the "maxpipes" limit, as it no longer has a purpose. (The limit on kva usage solves the problem of having two many pipes.)
* | 2nd part of making the name of the release running script overrideable.obrien2003-08-111-1/+1
| |
* | Don't provide mutexes for static busdma allocations.scottl2003-08-111-19/+22
| |
* | Implement cpu_set_upcall_kse(). Further tweaking may be needed aftermarcel2003-08-111-4/+25
| | | | | | | | testing.
* | Use vm_page_hold() instead of vm_page_wire(). Otherwise, a multithreadedalc2003-08-111-3/+3
| | | | | | | | | | | | | | | | | | | | application could cause a wired page to be freed. In general, vm_page_hold() should be preferred for ephemeral kernel mappings of pages borrowed from a user-level address space. (vm_page_wire() should really be reserved for indefinite duration pinning by the "owner" of the page.) Discussed with: silby Submitted by: tegge
* | The iBCS2 system call translator for statfs(2) did not check thenectar2003-08-101-0/+4
| | | | | | | | | | | | length parameter for validity. Submitted by: David Rhodus <drhodus@catpa.com>
* | panic() if we try to handle an out-of-range signal number innectar2003-08-101-2/+5
| | | | | | | | | | | | | | | | psignal()/tdsignal(). The test was historically in psignal(). It was changed into a KASSERT, and then later moved to tdsignal() when the latter was introduced. Reviewed by: iedowse, jhb
* | Add or correct range checking of signal numbers in system calls andnectar2003-08-104-3/+7
| | | | | | | | | | | | | | | | | | ioctls. In the particular case of ptrace(), this commit more-or-less reverts revision 1.53 of sys_process.c, which appears to have been erroneous. Reviewed by: iedowse, jhb
* | Add some quick pathes to exit process when signal action is default anddavidxu2003-08-102-0/+42
| | | | | | | | | | | | signal can causes process to exit. Reviewed by: deischen
* | Initialize rtld lock just before turning on thread mode anddavidxu2003-08-106-70/+74
| | | | | | | | uninitialize rtld lock after thread mode shutdown.
* | If thread mode is not activated yet, just call __sys_fork() directly,davidxu2003-08-102-2/+44
| | | | | | | | | | | | | | | | otherwise masks all signals until fork() returns, in child process, we reset library state before restoring signal masks until we reach a safe to point. Reviewed by: deischen
* | Tweak rtld lock to allow recursive on reader lock and detect recursivedavidxu2003-08-102-20/+134
| | | | | | | | | | | | on writer lock. This is first cut at rwlock for rtld. Submitted by: desichen
* | If thread mode is not activated yet, don't do extra work.davidxu2003-08-102-0/+8
| | | | | | | | Reviewed by: deischen
* | Change name of state_link() to state_polling() to make itmbr2003-08-103-49/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | more clear what it does. Trim interface_active() to just do what it should do. Check if we got link or not and if the NIC supports it. No special treatment for mediachecks here anymore. Simplify the code a lot, and remove doublicated parts. Fix two minor spelling errors. Add one missing #ifdef ENABLE_POLLING_MODE Reviewed by: mdodd
* | Rename pmap_changebit() to pmap_clear_ptes() and remove the lastalc2003-08-102-50/+38
| | | | | | | | | | | | | | | | | | | | parameter. The new name better reflects what the function does and how it is used. The last parameter was always FALSE. Note: In theory, gcc would perform constant propagation and dead code elimination to achieve the same effect as removing the last parameter, which is always FALSE. In practice, recent versions do not. So, there is little point in letting unused code pessimize execution.
* | o move cpu_reset() from vm_machdep.c to machdep.c.marcel2003-08-102-79/+68
| | | | | | | | | | | | o reorder cpu_boot(), cpu_halt() and identifycpu(). No functional change.
* | Revert revision 1.25 now that mergemaster does a 'make all' to buildgshapiro2003-08-101-1/+1
| | | | | | | | | | | | | | the required .cf file(s). Submitted by: ru X-MFC after: mergemaster MFC
* | The BCM5704 ASIC has a smaller mbuf space than the 5700/1/2/3. Failurewpaul2003-08-101-2/+10
| | | | | | | | | | | | to configure this correctly yields many watchdog timeouts even on lightly loaded machines. This is a common complaint from users with Dell 1750 servers with built-in dual 5704 NICs.
* | Lower initial drop value to 50, it is enough to hide linearityache2003-08-101-2/+2
| |
* | For type 0 rng lower initial drop to 50, it is enough to hide linearityache2003-08-101-1/+5
| | | | | | | | Reorganize historic #ifdef section
* | Switch from legacy to native mode for ICH4 and ICH5.orion2003-08-102-21/+22
| | | | | | | | | | | | | | Submitted by: Shin-ichi YOSHIMOTO <yosimoto@waishi.jp> Test by: Markko Merzin <markko@short.cut.ee> PR: kern/53242 MFC after: 5 days
* | Don't hardcode unit numer '0'.ticso2003-08-103-3/+3
| | | | | | | | We can have multiple instances.
* | Add GB18030 and GBK to the list of encodings. Cross-reference thetjr2003-08-101-1/+10
| | | | | | | | new manual pages for the Big5, GB18030, GBK, and MSKanji encodings.
* | Fix the case of the encoding name in the ENCODING line. Names aretjr2003-08-101-1/+1
| | | | | | | | case-sensitive, and MSKANJI does not work.
* | Cross-reference gbk(5).tjr2003-08-101-0/+1
| |
* | Cross-reference gbk(5) now that it exists. Fix a copy & paste error:tjr2003-08-101-1/+2
| | | | | | | | one occurrence of GB 18030 should have been 11383.
* | Add a fairly minimal manual page for the GBK encoding.tjr2003-08-102-1/+63
| |
* | Add a cross reference to Unicode 3.0.tjr2003-08-101-1/+6
| |
* | Make the name of the release running script overrideable.obrien2003-08-101-28/+28
| |
* | Add cross references to the new character encoding manual pages,tjr2003-08-101-1/+5
| | | | | | | | and to mbsinit(3) while I'm at it.
* | Add manual pages for the BIG5, GB18030 and MSKanji encodings. These maytjr2003-08-104-1/+189
| | | | | | | | need to be fleshed out a little, especially big5(5).
* | Now that we can ignore up to 8KB of dirty registers, remove the RSEmarcel2003-08-101-45/+30
| | | | | | | | | | | | | | | | magic from exec_setregs(). In set_mcontext() we now also don't have to worry that we entered the kernel with more that 512 bytes of dirty registers on the kernel stack. Note that we cannot make any assumptions anymore WRT to NaT collection points in exec_setregs(), so we have to deal with them now.
* | MF p4:imp2003-08-101-1/+1
| | | | | | | | Minor style(9) nit.
* | Grrr. There is a gratuitous difference in the RX descriptor statuswpaul2003-08-101-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | word between the 8139C+ and the 8169. The 8139C+ has a 'frame alignment error bit' (bit 27) but the 8169 does not. Rather than simply mark this bit as reserved, RealTek removed it completely and shifted the remaining status bits one space to the left. This was causing rl_rxeofcplus() to misparse the error and checksum bits. To workaround this, rl_rxeofcplus() now shifts the rxstat word one bit to the right before testing any of the status bits (but after the frame length has been extracted).
* | Some bridges, like o2 micro and maybe ricoh, have some issues betweenimp2003-08-101-10/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the time the card is inserted and the time that the card is configured. This can lead to interrupt storms. The O2Micro suggested workaround is to route the card function interrupt to IRQ1. It appears from my testing that this is an acceptable workaround for most chipsets (there's still some issue with the ricoh chipset). Also, only look at the NOT_A_CARD bit when the bridge tells us there's a card present. At least one test caused this to be true after the card was removed, but the author couldn't recreate it with the workaround in place. The change is more conservative than the previous code, but still has the work around that wasn't present in the older code.
* | - Update some comments regarding hardware details of the 8169 andwpaul2003-08-102-40/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | note the existence of the 8169S and 8110S components. (The 8169 is just a MAC, the 8169S and 8110S contain both a MAC and PHY.) - Properly handle list and buffer addresses as 64-bit. The RX and TX DMA list addresses should be bus_addr_t's. Added RL_ADDR_HI() and RL_ADDR_LO() macros to obtain values for writing into chip registers. - Set a slightly different TIMERINT value for 8169 NICs for improved performance. - Change left out of previous commit log: added some additional hardware rev codes for other 10/100 chips and for the 8169S/8110S 'rev C' gigE MACs.
* | Re-enable pcfclock in the build.obrien2003-08-101-0/+1
| |
* | Silence unwanted 'gigabit link up' messages: do not treat thewpaul2003-08-101-1/+2
| | | | | | | | | | | | | | | | BGE_MACSTAT_MI_COMPLETE bit in the MAC status register as a link change indicator. We turn this bit on now because some of the newer chips need it, but it usually just means that reading/writing an MII/GMII register has completed, not that a link change has occured.
* | Instead of unconditionally refusing to install if no swap partitionsdas2003-08-102-6/+8
| | | | | | | | are specified, prompt the user with a yes/no box.
* | Use get_mcontext in sendsig and set_mcontext in sigreturn instead ofjake2003-08-091-9/+5
| | | | | | | | frobbing things directly.
* | Don't provide a mutex in the S/G list dma tag since it will never be defered.scottl2003-08-091-7/+9
| | | | | | | | Fix some nearby style.
* | Add code to cope more with strange conditions after careful study ofimp2003-08-091-14/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the standard. 1) When the bridge tells us that we have a card that isn't recognized, we use the force register to force the CV_TEST to run. This test causes the bridge to re-evaluate the card. Once this re-evaluation process happens, we get a new interrupt that may say it is ready to process. We try this up to 20 times. Tests have shown that this appears to correctly reset the 'Unknown card type' problem that I saw on my Sony PCG-505TS. 2) Take a page from OLDCARD and always read the CSC register in the ISR. Some TI (and it seems maybe Ricoh) chipsets require this to behave properly. This work around appears to work due to some power management protocols that were improperly implemented. Maybe it can be removed when this driver supports the full PME# protocol described in the standards. 3) Minor additional debug printf when debugging is enabled. 4) Minor additional commentary for things that are obvious only after study. # I'm committing this from my Sony PCG-505TS using shared PCI interrupts # and NEWCARD, but there are some issues with the Ricoh bridge still, but # at least now I can boot with the card inserted and have it work.
* | CBB_SOCKET_STAT_ is too long. Change it to CBB_STATE_. Also, makeimp2003-08-092-31/+44
| | | | | | | | | | | | some minor changes to more closely match the bit names used in the 7.0 version of the PCMCIA standard. Also add bits from the FORCE register.
OpenPOWER on IntegriCloud