summaryrefslogtreecommitdiffstats
path: root/sys/i386
Commit message (Collapse)AuthorAgeFilesLines
* Remove some leftovers from the CMAP* stuff in globaldata and thepeter2001-01-305-35/+10
| | | | BSP and AP startup.
* Remove unused GD_CPU_LOCKID, GD_OTHER_CPUS, PS_IDLESTACK andpeter2001-01-301-4/+0
| | | | PS_IDLESTACK_TOP
* Remove unnecessary locking to protect the p_upages_obj and p_addrjhb2001-01-301-6/+0
| | | | pointers.
* Add text for option ATA_ENABLE_WC.sos2001-01-291-0/+4
|
* Stop counting sppp interfaces, we were just testing its presence to givepeter2001-01-292-14/+0
| | | | a warning if it was missing.
* Convert mca (microchannel bus support) from something that we countpeter2001-01-294-16/+16
| | | | (bogus) to something that we test for the presence of.
* Send "#if NISA > 0" to the bit-bucket and replace it with an option.peter2001-01-296-23/+18
| | | | | These were compile-time "is the isa code present?" tests and not 'how many isa busses' tests.
* Gag. These compiled because I had a stray "eisa.h" in my config dir.peter2001-01-291-2/+0
|
* Remove stray #include "isa.h"peter2001-01-291-2/+0
|
* change 'count eisa' to 'optional eisa' and update the only consumerpeter2001-01-291-307/+12
| | | | | of 'NEISA' - userconfig.c. While there, send some defunct code to the file history.
* Remove an outdated DEVFS non-description.phk2001-01-281-4/+0
|
* Clear intr_nesting_level when an interrupt thread has no morejake2001-01-282-0/+2
| | | | | | | handlers and wants to exit, so it doesn't panic in exit1() which malloc()s with M_WAITOK. Reported by: Bob Bishop <rb@gid.co.uk>
* Move the setting of curproc to idleproc up earlier in ap_init(). Thebmilekic2001-01-283-18/+18
| | | | | | | | | | | problem is that a mutex lock, prior to this change, is acquired before the curproc is set to idleproc, so we mess ourselves up by calling the mutex lock routine with curproc == NULL. Moving it up after the aps_ready spin-wait has us hopefully setting it after idleproc is setup. Solved by: jake (the allmighty) :-)
* Defer assignment of low level interrupt handlers for PCI interruptstegge2001-01-285-182/+230
| | | | | described in the MP table until something asks for the interrupt number later on.
* Turn DEVFS on by default.phk2001-01-271-1/+1
| | | | | You may need to turn this off if you you vinum. Apart from that I know of no reason not to run with DEVFS.
* Back out proc locking to protect p_ucred for obtaining additionaljhb2001-01-272-29/+7
| | | | references along with the actual obtaining of additional references.
* Add experimental support for Eicon.Diehl DIVA 2.0 and 2.02 ISA PnP cards.hm2001-01-261-0/+3
|
* Add experimental support for Eicon.Diehl DIVA 2.0 and 2.02 ISA PnP cards.hm2001-01-261-3/+4
| | | | | Increment i4b minor revision (=step) so a buildworld or a make install in /usr/src/sys/include is necessary to get isdnd and i4b kernel parts in sync.
* Push Giant down into the trap handlers that need it, instead ofjake2001-01-261-15/+44
| | | | | | acquiring it unconditionally. Reviewed by: jhb
* Whitespace fix: convert code indented 6 spaces to use tabs instead.jhb2001-01-251-6/+6
|
* Add some description and clarification as to the use of the tdfx device.cokane2001-01-251-0/+9
| | | | | Answers many questions I have recieved and has a short description of what the driver actually does.
* Disable cy - it is now completely broken and needs non-trivial work.peter2001-01-251-7/+7
|
* - Change fork_exit() to take a pointer to a trapframe as its 3rd argumentjhb2001-01-241-1/+2
| | | | | | | instead of a trapframe directly. (Requested by bde.) - Convert the alpha switch_trampoline to call fork_exit() and use the MI fork_return() instead of child_return(). - Axe child_return().
* Newbusify ar(4).jhay2001-01-242-177/+342
|
* Convert all simplelocks to mutexes and remove the simplelock implementations.jasone2001-01-248-462/+114
|
* Remove the Xforward_irq IPI.jhb2001-01-241-4/+0
|
* - Remove all the #if 0'd code that used to implement IRQ forwarding.jhb2001-01-242-170/+0
| | | | - Remove #if 0'd lazy interrupt mask.
* Remove unused locks: cpl, fast_intr, intr, mpintr.jhb2001-01-241-4/+0
|
* - Proc locking.jhb2001-01-241-4/+7
| | | | | - P_OWEUPC -> PS_OWEUPC. - Remove obsolete prototype for MD fork_return().
* - Remove Xforward_irq, cpl_lock, and fast_intr_lock.jhb2001-01-241-3/+1
| | | | - Add fork_exit.
* Setup the return values for a child process in the trapframe when we setupjhb2001-01-241-0/+4
| | | | the rest of the trapframe instead of doing it in fork_return().
* - Kill the have_giant parameter to userret() along with all instances ofjhb2001-01-241-99/+74
| | | | | | | | | | | | | that name as a variable. Use mtx_owned(&Giant) where appropriate instead. - Proc locking. - P_FOO -> PS_FOO. - Update comments about enable interrupts during trap and why this may be bad if we trap while holding a spin mutex. - Don't bother resetting p to curproc in syscall() in case we are the child returning from fork. The child hasn't returned from fork through syscall in a while. - Remove fork_return() as it has been superseded by the MI version.
* - Proc locking.jhb2001-01-242-7/+48
| | | | - P_INMEM -> PS_INMEM.
* - Relocate portions of this file to get it into an order closer to that ofjhb2001-01-243-513/+459
| | | | | | | | | | | | | the alpha mp_machdep.c. - Proc locking. - Catch up to the P_FOO -> PS_FOO proc flags changes. - Stick ap_init()'s prototype with the other prototypes. - Remove the Xforwardirq IPI. - Remove unused simplelocks. - Don't try to psignal() from forward_statclock(), but set the appropriate signal pending flag in p_sflag instead. - Add in KTR_SMP tracepoints for various SMP functions. (Brought over from the alpha port)
* - Proc locking.jhb2001-01-241-8/+29
| | | | | | | - Setup proc0.p_heldmtx, proc0.contested, and curproc earlier so that we can use mutexes. - Initialize sched_lock and Giant earlier and enter Giant during init386. - Use suser(9) instead of checking cr_uid directly.
* Call fork_exit() now instead of futzing around in assembly during a forkjhb2001-01-241-24/+3
| | | | return.
* Proc locking.jhb2001-01-242-0/+17
|
* - Proc locking.jhb2001-01-241-5/+26
| | | | | - Use FreeBSD stackgap_init() semantics. - Adjust some #ifdef's to hide unused variables.
* - Proc locking.jhb2001-01-241-1/+6
| | | | - Use NULL instead of 0.
* Use selrecord() instead of doing the work ourselves.jhb2001-01-242-15/+3
|
* Make the device name in an isa_device a const char * instead of a char *jhb2001-01-241-1/+1
| | | | to silence cast-qual warnings.
* Use queue macros.jhb2001-01-242-2/+2
|
* Proc locking.jhb2001-01-236-8/+41
|
* - Use 'p' instead of 'curproc' for the namei lookup as this is whatjhb2001-01-231-6/+20
| | | | | other image activators use. - Proc locking.
* Move most of sys/mutex.h into kern/kern_mutex.c, thereby making the mutexjasone2001-01-211-0/+6
| | | | | | | | | | | inline functions non-inlined. Hide parts of the mutex implementation that should not be exposed. Make sure that WITNESS code is not executed during boot until the mutexes are fully initialized by SI_SUB_MUTEX (the original motivation for this commit). Submitted by: peter
* First step towards an MP-safe zone allocator:des2001-01-211-2/+2
| | | | | | | - have zalloc() and zfree() always lock the vm_zone. - remove zalloci() and zfreei(), which are now redundant. Reviewed by: bmilekic, jasone
* Make intr_nesting_level per-process, rather than per-cpu. Setupjake2001-01-2117-34/+49
| | | | | | | | interrupt threads to run with it always >= 1, so that malloc can detect M_WAITOK from "interrupt" context. This is also necessary in order to context switch from sched_ithd() directly. Reviewed By: peter
* Remove APIC_INTR_DIAGNOSTIC - this has been disabled for some time now.peter2001-01-216-301/+0
| | | | Remove some leftovers of removed SMP options.
* Remove MUTEX_DECLARE() and MTX_COLD. Instead, postpone full mutexjasone2001-01-214-9/+9
| | | | | | | | initialization until after malloc() is safe to call, then iterate through all mutexes and complete their initialization. This change is necessary in order to avoid some circular bootstrapping dependencies.
* Remove the MAYBE_PANIC and GUARD_CPU macros - unused.peter2001-01-211-34/+0
|
OpenPOWER on IntegriCloud