summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add the `compat4x' distribution to the release Makefile.Murray Stokely2001-02-091-1/+1
| | | | | | | Approved by: jkh Notes: svn path=/head/; revision=72248
* Add relevant libraries from our ref4 box.Murray Stokely2001-02-093-0/+11944
| | | | | | | Approved by: jkh Notes: svn path=/head/; revision=72247
* Add compat4x.i386 directory.Murray Stokely2001-02-091-0/+3
| | | | | | | Approved by: jkh Notes: svn path=/head/; revision=72246
* Back out attempt to implement CRNCYSTR - require additional prefixes accordingAndrey A. Chernov2001-02-091-1/+4
| | | | | | | to SUSV2. Add comment explaining it instead. Notes: svn path=/head/; revision=72245
* Catch up to the new swi API.John Baldwin2001-02-092-14/+12
| | | | Notes: svn path=/head/; revision=72244
* Explicitly mark deprecated entries.Andrey A. Chernov2001-02-091-12/+9
| | | | | | | | | | Return currency_symbol for CRNCYSTR Return "%r" for T_FMT_AMPM Remove obsoleted comment about c_fmt Return "" for {YES,NO}STR Notes: svn path=/head/; revision=72243
* - Use a spin mutex instead of COM_LOCK, since COM_LOCK is going away.John Baldwin2001-02-093-495/+249
| | | | | | | | | The same name from the sio(4) driver was used and an appropriate dictionary item added at the top to reduce diffs. - Catch up to the new swi API. Notes: svn path=/head/; revision=72242
* Use the MI ithread helper functions in the alpha hardware interrupt code.John Baldwin2001-02-099-266/+63
| | | | Notes: svn path=/head/; revision=72241
* Catch up to changes to inthand_add().John Baldwin2001-02-095-40/+40
| | | | Notes: svn path=/head/; revision=72240
* Use the MI ithread helper functions in the x86 interrupt code.John Baldwin2001-02-0912-886/+402
| | | | Notes: svn path=/head/; revision=72239
* - Catch up to the new swi API changes:John Baldwin2001-02-098-41/+39
| | | | | | | | | | - Use swi_* function names. - Use void * to hold cookies to handlers instead of struct intrhand *. - In sio.c, use 'driver_name' instead of "sio" as the name of the driver lock to minimize diffs with cy(4). Notes: svn path=/head/; revision=72238
* - Move struct ithd to sys/interrupt.h.John Baldwin2001-02-093-121/+364
| | | | | | | | | | | | | | | | | | - Add a set of MI helper functions for interrupt threads: - ithread_create() creates a new interrupt thread - ithread_destroy() destroys an interrupt thread - ithread_add_handler() attaches a new handler to an interrupt thread - ithread_remove_handler() detaches a handler from an interrupt thread - Rename sinthand_add() and sched_swi() to swi_add() and swi_sched() respectively so that they live in a consistent namespace. - struct intrhand is no longer a public type. It would be private to kern_intr.c but the current implementation of fast interrupts on the alpha requires the type to be exported. However, all handlers should be treated as void * cookies in the way that new-bus treats them. This includes references to software interrupt handlers. Notes: svn path=/head/; revision=72237
* Add a new SYSINIT for interrupt thread initialization and stickJohn Baldwin2001-02-091-1/+2
| | | | | | | initialization right after it. Notes: svn path=/head/; revision=72236
* Axe INTR_HEAVY, INTR_LIGHT, and INTR_THREADED. Add in a INTR_TYPE_CLKJohn Baldwin2001-02-091-4/+3
| | | | | | | | priorirty for clock interrupt handlers and an INTR_ENTROPY flag to mark interrupt sources that are good sources of entropy. Notes: svn path=/head/; revision=72235
* Remove extra space after int_currency_symbolAndrey A. Chernov2001-02-0918-18/+18
| | | | Notes: svn path=/head/; revision=72234
* Use 4-digit year in x_fmtAndrey A. Chernov2001-02-094-4/+4
| | | | Notes: svn path=/head/; revision=72233
* Use " " as thousands_sepAndrey A. Chernov2001-02-091-1/+1
| | | | Notes: svn path=/head/; revision=72232
* Remove extra space after int_curr_symAndrey A. Chernov2001-02-092-2/+2
| | | | Notes: svn path=/head/; revision=72231
* Remove extra space after int_curr_symAndrey A. Chernov2001-02-091-4/+4
| | | | | | | | | Add "." after currency_sym Replace decimal_point with "," Add " " as thousands_sep Notes: svn path=/head/; revision=72230
* Release the proc lock around crfree() and uifree() in wait1(). It leads toJohn Baldwin2001-02-091-0/+2
| | | | | | | | a lock order violation, and since p is already a zombie at this point, I'm not sure that we even need all the locking currently in wait1(). Notes: svn path=/head/; revision=72229
* Unbreak EISA. The PCI-EISA bridge bus is named `eisab', not `isab'.Joerg Wunsch2001-02-091-1/+1
| | | | | | | | | | | This mistake seems to have been benign until very recently, probably until msmith's PCI code reshuffle which cleaned up a lot of things. Still, my AIC7770 doesn't work again, but it at least probes the EISA bus now. Notes: svn path=/head/; revision=72228
* Proc locking.John Baldwin2001-02-091-14/+10
| | | | Notes: svn path=/head/; revision=72227
* Move the initailization of the proc lock for proc0 very early into the MDJohn Baldwin2001-02-097-1/+6
| | | | | | | startup code. Notes: svn path=/head/; revision=72226
* Woops, remove an obsolete reference to gd_cpu_lockid.John Baldwin2001-02-097-7/+0
| | | | Notes: svn path=/head/; revision=72225
* - Change the 'witness_list' ddb command to 'show mutexes'. Note that thisJohn Baldwin2001-02-093-54/+177
| | | | | | | | | | | | | | | | | will only display sleep mutexes held by the current process. - Clean up some nits in the witness_display() function and add a ddb command 'show witness' that dumps the hierarchy and order lists to the console. - Use queue(3) macros where appropriate. - Resort the spin lock order list so that "com" is before "sched_lock". Also, add appropriate #ifdef's around SMP and i386-specific mutexes. - Add two new mutexes used to protect the ithread lists and tables to the order list. Requested by: bde (1) Notes: svn path=/head/; revision=72224
* Change the ktr ddb commands to be show commands. The commands are now asJohn Baldwin2001-02-091-4/+4
| | | | | | | | | | | | | | follows: - show ktr_first display the first entry - show ktr_next display the next entry - show ktr display the entire buffer The /v modifiers continue to work as described previously. Requested by: bde Notes: svn path=/head/; revision=72223
* - Point out that we don't lock anything during the idle setup becauseJohn Baldwin2001-02-091-1/+6
| | | | | | | | | | only the boot processor should be running in the comments. - Initialize curproc to point to each CPU's respective idleproc if their curproc is NULL. - Keep track of the number of context switches performed by idleproc. Notes: svn path=/head/; revision=72222
* Remove bogus #if 0'd code that dinked with the saved interrupt state inJohn Baldwin2001-02-091-7/+0
| | | | | | | sched_lock. Notes: svn path=/head/; revision=72221
* Remove unused forward_irq counters.John Baldwin2001-02-093-27/+0
| | | | Notes: svn path=/head/; revision=72220
* Axe gd_cpu_lockid as it is no longer used.John Baldwin2001-02-093-3/+0
| | | | Notes: svn path=/head/; revision=72219
* Add is_IS locale support for LC_MESSAGES, LC_MONETARY, and LC_NUMERIC.Jeroen Ruigrok van der Werven2001-02-099-0/+119
| | | | Notes: svn path=/head/; revision=72218
* Add fi_FI locale support for LC_MESSAGES, LC_MONETARY, and LC_NUMERIC.Jeroen Ruigrok van der Werven2001-02-099-0/+119
| | | | Notes: svn path=/head/; revision=72217
* Fix some problems that were introduced in revision 1.97. InsteadIan Dowse2001-02-092-92/+202
| | | | | | | | | | | | | | | of returning an error code to the caller, NFS server op routines must themselves build an error reply and return 0 to the caller. This is achieved by replacing the erroneous return statements with code that jumps forward to the op function's reply code. We need to be careful to ensure that the 'struct mount' pointer is NULL though, so that the final vn_finished_write() call becomes a no-op. Reviewed by: mckusick, dillon Notes: svn path=/head/; revision=72216
* Fix login so that it exports environmental variables that are set by PAMJacques Vidrine2001-02-091-0/+58
| | | | | | | | | | | modules (via pam_putenv). The following variables will never be set in this fashion: SHELL, HOME, LOGNAME, MAIL, CDPATH, IFS, PATH any variable starting with `LD_' Notes: svn path=/head/; revision=72215
* mdoc(7) police: prevent generation of the extraRuslan Ermilov2001-02-091-6/+3
| | | | | | | whitespace after ``i.e.'', use .Rv, update .Dd. Notes: svn path=/head/; revision=72214
* Add af_ZA locale support for LC_MESSAGES, LC_MONETARY, and LC_NUMERIC.Jeroen Ruigrok van der Werven2001-02-099-3/+122
| | | | Notes: svn path=/head/; revision=72213
* Add fr_FR locale support for LC_MESSAGES, LC_MONETARY, and LC_NUMERIC.Jeroen Ruigrok van der Werven2001-02-099-0/+119
| | | | Notes: svn path=/head/; revision=72212
* Add de_DE locale support for LC_MESSAGES, LC_MONETARY, and LC_NUMERIC.Jeroen Ruigrok van der Werven2001-02-099-0/+119
| | | | Notes: svn path=/head/; revision=72211
* Add da_DK locale support for LC_MESSAGES, LC_MONETARY, and LC_NUMERIC.Jeroen Ruigrok van der Werven2001-02-099-3/+122
| | | | Notes: svn path=/head/; revision=72210
* Add no_NO locale support for LC_MESSAGES, LC_MONETARY, and LC_NUMERIC.Jeroen Ruigrok van der Werven2001-02-099-0/+119
| | | | Notes: svn path=/head/; revision=72209
* Add sv_SE locale files for LC_MESSAGES, LC_MONETARY, and LC_NUMERIC.Jeroen Ruigrok van der Werven2001-02-099-3/+122
| | | | Notes: svn path=/head/; revision=72208
* Repeat after me: no commits when tired.Jeroen Ruigrok van der Werven2001-02-092-0/+12
| | | | | | | Add the correct named file for LC_NUMERIC for nl_NL locales. Notes: svn path=/head/; revision=72206
* mdoc(7) police: fixed the weird construct.Ruslan Ermilov2001-02-091-3/+1
| | | | Notes: svn path=/head/; revision=72205
* Remove some leftovers. This is obviously unused, since the #definesPeter Wemm2001-02-091-26/+0
| | | | | | | referred to members that no longer exist. Notes: svn path=/head/; revision=72204
* poll(2) array limits (take 2) - after some input from bde.Peter Wemm2001-02-091-8/+7
| | | | Notes: svn path=/head/; revision=72203
* mdoc(7) police: cosmetics.Ruslan Ermilov2001-02-091-8/+9
| | | | Notes: svn path=/head/; revision=72202
* Change and clean the mutex lock interface.Bosko Milekic2001-02-09200-3721/+3509
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mtx_enter(lock, type) becomes: mtx_lock(lock) for sleep locks (MTX_DEF-initialized locks) mtx_lock_spin(lock) for spin locks (MTX_SPIN-initialized) similarily, for releasing a lock, we now have: mtx_unlock(lock) for MTX_DEF and mtx_unlock_spin(lock) for MTX_SPIN. We change the caller interface for the two different types of locks because the semantics are entirely different for each case, and this makes it explicitly clear and, at the same time, it rids us of the extra `type' argument. The enter->lock and exit->unlock change has been made with the idea that we're "locking data" and not "entering locked code" in mind. Further, remove all additional "flags" previously passed to the lock acquire/release routines with the exception of two: MTX_QUIET and MTX_NOSWITCH The functionality of these flags is preserved and they can be passed to the lock/unlock routines by calling the corresponding wrappers: mtx_{lock, unlock}_flags(lock, flag(s)) and mtx_{lock, unlock}_spin_flags(lock, flag(s)) for MTX_DEF and MTX_SPIN locks, respectively. Re-inline some lock acq/rel code; in the sleep lock case, we only inline the _obtain_lock()s in order to ensure that the inlined code fits into a cache line. In the spin lock case, we inline recursion and actually only perform a function call if we need to spin. This change has been made with the idea that we generally tend to avoid spin locks and that also the spin locks that we do have and are heavily used (i.e. sched_lock) do recurse, and therefore in an effort to reduce function call overhead for some architectures (such as alpha), we inline recursion for this case. Create a new malloc type for the witness code and retire from using the M_DEV type. The new type is called M_WITNESS and is only declared if WITNESS is enabled. Begin cleaning up some machdep/mutex.h code - specifically updated the "optimized" inlined code in alpha/mutex.h and wrote MTX_LOCK_SPIN and MTX_UNLOCK_SPIN asm macros for the i386/mutex.h as we presently need those. Finally, caught up to the interface changes in all sys code. Contributors: jake, jhb, jasone (in no particular order) Notes: svn path=/head/; revision=72200
* Apply patch to add support for the intergrated ethernet in the SiS630EBill Paul2001-02-092-1/+105
| | | | | | | | | | | | | chipset. The MAC address is stored in the APC CMOS RAM and we have to commit trememdous evil in order to read it. The code to do this is only activated on the i386 platform. Thanks to Cameron Grant for providing access to a test box for me to tinker with. This will fix the problem where the sis driver ends up with a station address of 00:00:00:00:00:00 on boards that use the 630E chipset. Notes: svn path=/head/; revision=72197
* Add includes of sys/malloc.h so this actually compiles.John Baldwin2001-02-092-1/+2
| | | | | | | Pointy-hat to: asmodai Notes: svn path=/head/; revision=72196
* Apply clue to mind and correct the ISO setting to the correct one.Jeroen Ruigrok van der Werven2001-02-088-3/+49
| | | | | | | | This adds LC_MESSAGES, LC_MONETARY, and LC_NUMERIC suppport for nl_NL locales. Notes: svn path=/head/; revision=72195