summaryrefslogtreecommitdiffstats
path: root/sys/i386
Commit message (Collapse)AuthorAgeFilesLines
* correct "device iwic0" to "device iwic"hm2000-10-101-1/+1
|
* Set i4b version number to 0.96.00.hm2000-10-101-3/+3
| | | | It is (nearly) identical to i4b-00.96.00-beta-101000.tar.gz
* Mark directories as directories, not as regular files.des2000-10-101-1/+1
|
* update to i4b version 0.95.04hm2000-10-091-48/+68
|
* update to i4b version 0.95.04hm2000-10-096-84/+404
|
* Initiate deorbit burn sequence for <machine/mouse.h>.phk2000-10-092-334/+5
| | | | | | | | | | Replace all in-tree uses with <sys/mouse.h> which repo-copied a few moments ago from src/sys/i386/include/mouse.h by peter. This is also the appropriate fix for exo-tree sources. Put warnings in <machine/mouse.h> to discourage use. November 15th 2000 the warnings will be converted to errors. January 15th 2001 the <machine/mouse.h> files will be removed.
* A couple of negative options was not commented out in NOTES/LINT. Thisphk2000-10-091-2/+2
| | | | obscured a #include bug in syscons.
* Unremoved used include of <machine/ipl.h>. Removing it in rev.1.95bde2000-10-091-0/+1
| | | | | | | significantly pessimized syscalls by arranging to do null rescheduling on return from every syscall. (AST_RESCHED was not defined, and the mask ~AST_RESCHED gets replaced by the useless mask ~0. This bug has been fixed before, in rev.1.92.)
* Only attach "legacy" PCI busses if none have been attached via any othermsmith2000-10-091-3/+23
| | | | method.
* Initiate deorbit burn sequence for <machine/console.h>.phk2000-10-083-2/+8
| | | | | | | | | Replace all in-tree uses with necessary subset of <sys/{fb,kb,cons}io.h>. This is also the appropriate fix for exo-tree sources. Put warnings in <machine/console.h> to discourage use. November 15th 2000 the warnings will be converted to errors. January 15th 2001 the <machine/console.h> files will be removed.
* Unbreak detection of breakage in cy driver.bde2000-10-081-6/+6
|
* Made this file compile again after move of stuff from <machine.ipl.h>bde2000-10-081-1/+2
| | | | to <sys/ipl.h>.
* Use schedsofttty() again (SMPng casualty with intentionally wrong fixbde2000-10-081-5/+1
| | | | | | | in rev.1.101). Made this file compile again after move of stuff from <machine.ipl.h> to <sys/ipl.h>.
* Cleanup comment in machine/param.h regarding mbuf-related sizes, and get ridbmilekic2000-10-081-7/+3
| | | | | of MCLOFSET, which does not appear to be used anywhere anymore, and if it is, it probably shouldn't be.
* Cy driver doesn't compile and nobody seems to care.phk2000-10-071-6/+6
|
* Caught up with the changes in interruption stuff.kato2000-10-071-1/+2
|
* Work around a bug by adding struct tags. gcc-2.95 apparently gets thebde2000-10-061-2/+2
| | | | | | | | | check in the [basic.link] section of the C++ standard wrong. gcc-2.7.2.3 apparently doesn't do the check, so the bug doesn't affect RELENG_3. PR: 16170, 21427 Submitted by: Max Khon <fjoe@lark.websci.ru> (i386 version) Discussed with: jdp
* - Change fast interrupts on x86 to push a full interrupt frame and tojhb2000-10-0622-429/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | return through doreti to handle ast's. This is necessary for the clock interrupts to work properly. - Change the clock interrupts on the x86 to be fast instead of threaded. This is needed because both hardclock() and statclock() need to run in the context of the current process, not in a separate thread context. - Kill the prevproc hack as it is no longer needed. - We really need Giant when we call psignal(), but we don't want to block during the clock interrupt. Instead, use two p_flag's in the proc struct to mark the current process as having a pending SIGVTALRM or a SIGPROF and let them be delivered during ast() when hardclock() has finished running. - Remove CLKF_BASEPRI, which was #ifdef'd out on the x86 anyways. It was broken on the x86 if it was turned on since cpl is gone. It's only use was to bogusly run softclock() directly during hardclock() rather than scheduling an SWI. - Remove the COM_LOCK simplelock and replace it with a clock_lock spin mutex. Since the spin mutex already handles disabling/restoring interrupts appropriately, this also lets us axe all the *_intr() fu. - Back out the hacks in the APIC_IO x86 cpu_initclocks() code to use temporary fast interrupts for the APIC trial. - Add two new process flags P_ALRMPEND and P_PROFPEND to mark the pending signals in hardclock() that are to be delivered in ast(). Submitted by: jakeb (making statclock safe in a fast interrupt) Submitted by: cp (concept of delaying signals until ast())
* currentldt is now a "special" global-data variable, and as such, therejhb2000-10-061-3/+0
| | | | | is no actual currentldt integer variable directly. Thus, don't claim that there is.
* Interrupt frames don't include the saved cpl anymore since cpl is dead.jhb2000-10-061-2/+0
|
* Various whitespace cleanups after the SMPng commit, which jumbled thingsjhb2000-10-061-19/+19
| | | | around a bit in the trap handling code.
* Don't treat a kernel stack fault the same as a general protect fault orjhb2000-10-061-0/+3
| | | | a segment not present fault in the non-vm86 case.
* Remove an unnecessary sti and spl0() in fork_trampoline. Interruptsjhb2000-10-061-2/+0
| | | | should be enabled by MTX_EXIT() now when it releases the sched_lock.
* - Include opt_vesa.h in vesa.c so that the VESA_DEBUG option is actuallyjhb2000-10-061-1/+15
| | | | | propagated from the kernel config file to the source. - Add some more debug messages to list each mode that is rejected or found.
* Driver for the Intel 82801AA (ICH) SMBus controller and compatibles.archie2000-10-061-7/+12
| | | | Obtained from: Whistle source tree
* - Heavyweight interrupt threads on the alpha for device I/O interrupts.jhb2000-10-0518-411/+39
| | | | | | | | | | | - Make softinterrupts (SWI's) almost completely MI, and divorce them completely from the x86 hardware interrupt code. - The ihandlers array is now gone. Instead, there is a MI shandlers array that just contains SWI handlers. - Most of the former machine/ipl.h files have moved to a new sys/ipl.h. - Stub out all the spl*() functions on all architectures. Submitted by: dfr
* Replace loadandclear() with atomic_readandclear_int().jhb2000-10-052-13/+2
|
* Add atomic_readandclear_int and atomic_readandclear_long.jhb2000-10-051-2/+34
|
* Make the gd_currentldt member in struct globaldata unconditional sojhb2000-10-052-6/+2
| | | | | that this header doesn't depend on USER_LDT. This fixes the USER_LDT breakage with SMP kernels.
* - Remove somewhat bogus handling of the Giant mutex in the vm86 code.jhb2000-10-052-6/+13
| | | | | - Add a vm86pcb_lock mutex that is used to lock the vm86pcb used when making a vm86 call.
* Reduce userland namespace polution.jasone2000-10-041-1/+4
|
* Fix spelling error ("exits" should be "exists").jasone2000-10-041-1/+1
|
* Add the pcn device to NEWCARD and NOTES.wpaul2000-10-032-0/+6
|
* Add ATA_ENABLE_TAGS options descriptionsos2000-10-031-0/+2
|
* Fix a cosmetic sign problem on machines with 4G of ram.peter2000-10-021-1/+1
| | | | | | 0x00312000 - 0xe5fe7fff, 3855441920 bytes (4294859990 pages) .. becomes 0x00314000 - 0xe5fe7fff, 3855433728 bytes (941268 pages)
* Fix StallOp implementaion. I've noticed that StallOp corresponds toiwasaki2000-10-021-4/+10
| | | | | | | OsdSleepUsec(), SleepOp corresponds to OsdSleep() by reading ACPICA source code. - Add OsdSleepUsec() which uses DELAY() simply. - Change unit of acpi_sleep() argument; microseconds to milliseconds.
* Move the i386 PCI attachment code out of i386/isa back into i386/pci.msmith2000-10-026-2622/+507
| | | | | Split out the configuration space access primitives, as these are needed elsewhere as well.
* Put on my nuclear-grade asbestos suit and cvs rm the old, broken, soundpeter2000-10-0282-36836/+0
| | | | | | | | | | | drivers (again). These drivers have not compiled for 5-6 months. Now that the new sound code supports MIDI, the major reason we had for reviving it is gone. It is a far better investment polishing the new midi code than trying to keep this on life support. Come 5.0-REL, if there are major shortcomings in the pcm sound driver then maybe we can rethink this, but until then we should focus on pcm. Remember, these have not been compilable since ~April-May this year.
* Fix the no-pci case of attaching isa, eisa and mca devices.peter2000-10-012-14/+6
| | | | | | | | | device_add_child() is meant to be called by the bus add_child method, not to replace the bus add_child method. We could have called nexus_add_device directly too, that would have also worked. PR: 21657 Tested by: markm
* Remove ACPI_NO_OSDFUNC_INLINE option from kernel configuration. Nowiwasaki2000-10-013-5/+5
| | | | | | | that it's enabled in acpireg.h only if DIAGNOSTIC option is specified. ACPICA OSD functions will be compiled in machine/acpi_machdep.c again tentatively (if DIAGNOSTIC option is specified). # Should we have acpica_osd.c ?
* One more update against header file name changing.iwasaki2000-10-011-2/+2
|
* - Add acpi_disable_events() and set it with EVENTHANDLER_REGISTER in order toiwasaki2000-09-301-56/+55
| | | | | | | | avoid power on again problem after acpi_soft_off() calling. - Implement SleepOp/StallOp in AML interpreter. Also provide ACPICA compatibility. - Minor changes on __inline function declaration in acpica_osd.h (obtained from NetBSD porting).
* More updates to the ACPI code:msmith2000-09-304-55/+125
| | | | | | | | | | | | | | | - Move all register I/O into acpi_io.c - Move event handling into acpi_event.c - Reorganise headers into acpivar/acpireg/acpiio - Move find-RSDT and find-ACPI-owned-memory into acpi_machdep - Allocate all resources (except those detailed only by AML) as real resources. Add infrastructure that will make adding resource support to AML code easy. - Remove all ACPI #ifdefs in non-ACPI code - Removed unnecessary includes - Minor style and commenting fixes Reviewed by: iwasaki
* Big mbuf subsystem diff #1: incorporate mutexes and fix things up somewhatbmilekic2000-09-301-13/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to accomodate the changes. Here's a list of things that have changed (I may have left out a few); for a relatively complete list, see http://people.freebsd.org/~bmilekic/mtx_journal * Remove old (once useful) mcluster code for MCLBYTES > PAGE_SIZE which nobody uses anymore. It was great while it lasted, but now we're moving onto bigger and better things (Approved by: wollman). * Practically re-wrote the allocation macros in sys/sys/mbuf.h to accomodate new allocations which grab the necessary lock. * Make sure that necessary mbstat variables are manipulated with corresponding atomic() routines. * Changed the "wait" routines, cleaned it up, made one routine that does the job. * Generalized MWAKEUP() macro. Got rid of m_retry and m_retryhdr, as they are now included in the generalized "wait" routines. * Sleep routines now use msleep(). * Free lists have locks. * etc... probably other stuff I'm missing... Things to look out for and work on later: * find a better way to (dynamically) adjust EXT_COUNTERS * move necessity to recurse on a lock from drain routines by providing lock-free lower-level version of MFREE() (and possibly m_free()?). * checkout include of mutex.h in sys/sys/mbuf.h - probably violating general philosophy here. The code has been reviewed quite a bit, but problems may arise... please, don't panic! Send me Emails: bmilekic@freebsd.org Reviewed by: jlemon, cp, alfred, others?
* Fill in some more missing bits from cpu_features according to the Intelpeter2000-09-291-10/+10
| | | | Pentium4 cpuid docs.
* First shot at identifying the Pentum 4 acording to our reading of thepeter2000-09-292-2/+8
| | | | | | | | the cpu_id extensions in the Intel docs. There is more info available. See the following URL for more details. http://developer.intel.com/design/processor/future/manuals/CPUID_Supplement.htm Requested by: Intel
* Get out the roto-rooter and clean up the abuse of nexus ivars by thepeter2000-09-288-82/+220
| | | | | | | | | | | | i386/isa/pcibus.c. This gets -current running again on multiple host->pci machines after the most recent nexus commits. I had discussed this with Mike Smith, but ended up doing it slightly differently to what we discussed as it turned out cleaner this way. Mike was suggesting creating a new resource (SYS_RES_PCIBUS) or something and using *_[gs]et_resource(), but IMHO that wasn't ideal as SYS_RES_* is meant to be a global platform property, not a quirk of a given implementation. This does use the ivar methods but does so properly. It also now prints the physical pci bus that a host->pci bridge (pcib) corresponds to.
* Fix spelling of Katmai [Katami].asmodai2000-09-271-1/+1
|
* Since the nexus is responsible for creating the I/O resources (ports, memory)msmith2000-09-272-4/+296
| | | | | it ought to be able to deal with devices directly attached to it having allocations of such resources. Make it so.
* Document the pmtimer driver.iwasaki2000-09-261-1/+2
| | | | Pointed-out by: esu@yk.rim.or.jp (Shinya Esu)
OpenPOWER on IntegriCloud