summaryrefslogtreecommitdiffstats
path: root/sys/i386
Commit message (Collapse)AuthorAgeFilesLines
* o go ahead and route the interupt, even if it is supposedly unique.imp2002-10-072-14/+24
| | | | | | | | | | | there are some strange machines that seem to need this. o delete bogus comment. o don't use the the bios for read/writing config space. They interact badly with SMP and being called from ISR. This brings -current in line with -stable. # make the latter #ifdef on USE_PCI_BIOS_FOR_READ_WRITE in case we # need to go back in a hurry.
* Add conditionals to allow va_list to be defined in other headers.mike2002-10-061-0/+4
|
* o Add conditionals to allow va_list to be defined in other headers.mike2002-10-061-4/+10
| | | | | o Standardize on _MACHINE_STDARG_H_ to allow multiple header includes. o Restrict the definition of va_copy() to C99 environments.
* NB: This commit does *NOT* make GEOM the default in FreeBSDphk2002-10-053-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NB: But it will enable it in all kernels not having options "NO_GEOM" Put the GEOM related options into the intended order. Add "options NO_GEOM" to all kernel configs apart from NOTES. In some order of controlled fashion, the NO_GEOM options will be removed, architecture by architecture in the coming days. There are currently three known issues which may force people to need the NO_GEOM option: boot0cfg/fdisk: Tries to update the MBR while it is being used to control slices. GEOM does not allow this as a direct operation. SCSI floppy drives: Appearantly the scsi-da driver return "EBUSY" if no media is inserted. This is wrong, it should return ENXIO. PC98: It is unclear if GEOM correctly recognizes all variants of PC98 disklabels. (Help Wanted! I have neither docs nor HW) These issues are all being worked. Sponsored by: DARPA & NAI Labs.
* Fix building of minimal kernels without npx by rearranging ifdefs.deischen2002-10-051-11/+11
| | | | | | | Also fix some style bugs in surrounding code, and add a comment about FP state restoral that seems questionable. Submitted by: bde
* Fix namespace issues by using visibility conditionals frommike2002-10-051-1/+3
| | | | <sys/cdefs.h>.
* style(9) <machine/setjmp.h> headers so they look mostly the same.mike2002-10-041-5/+10
|
* New bus_dma interfaces for use by crypto device drivers:sam2002-10-042-0/+229
| | | | | | | | o bus_dmamap_load_mbuf o bus_dmamap_load_uio Test on i386. Known to compile on alpha and sparc64, but not tested. Otherwise untried.
* Fix a bogon in previous commit. bcopy() from the malloc'd memory that wejhb2002-10-041-1/+1
| | | | | already copied into, rather than doing the bcopy() from the userland pointer. "Oops."
* Add another temporary hack to allow running older i386 binaries.deischen2002-10-042-20/+18
| | | | | | | | This will be removed when new versions of syscalls sigreturn() and sigaction() are added (mini is working on this but is in the middle of a move). This should fix the problem of cvsupd dying.
* Remove duplicate make_dev() calls.mdodd2002-10-041-4/+0
|
* newbus & bus_space the mcd(4) driver.mdodd2002-10-043-2062/+0
|
* Alas, poor matcd, I knew ye well.scottl2002-10-047-3890/+0
| | | | | | | | It doesn't work. It cannot be made to work. Goodbye. X-MFC after: ASAP
* Minor style(9) changes.mdodd2002-10-041-9/+16
|
* Remove duplicate calls to make_dev().mdodd2002-10-041-4/+0
|
* Add 2 Ids for new ServerWorks host to PCI bridge chipset.iwasaki2002-10-021-0/+8
| | | | | | | | | These are still unknown name but these are working as well as the other ServerWorks chipset. Description strings should be corrected when the chipsets are known. MFC after: 1 week
* Some kernel threads try to do significant work, and the default KSTACK_PAGESscottl2002-10-022-17/+69
| | | | | | | | | | | | | doesn't give them enough stack to do much before blowing away the pcb. This adds MI and MD code to allow the allocation of an alternate kstack who's size can be speficied when calling kthread_create. Passing the value 0 prevents the alternate kstack from being created. Note that the ia64 MD code is missing for now, and PowerPC was only partially written due to the pmap.c being incomplete there. Though this patch does not modify anything to make use of the alternate kstack, acpi and usb are good candidates. Reviewed by: jake, peter, jhb
* Removed bits related to MBRs now that they have a proper home inbde2002-10-021-20/+0
| | | | <sys/diskmbr.h>.
* The pmap_prefault_pageorder[] array was initialize with wrong valuesphk2002-10-011-2/+2
| | | | | | | | due to a missing comma. I have no idea what trouble, if any, this may have caused. Pointed out by: FlexeLint
* Whitespace nit.jhb2002-10-011-1/+1
|
* Back our kernel support for reliable signal queues.jmallett2002-10-011-2/+1
| | | | Requested by: rwatson, phk, and many others
* It is too much work convincing lint why we would want empty structures,phk2002-10-012-0/+6
| | | | so make the non-empty #ifdef lint.
* Use long long to indicate 64bitness in #ifdef lint.phk2002-10-011-1/+6
|
* A more lint friendly #ifdef lint section.phk2002-10-011-19/+13
|
* Add a missing include.jmallett2002-10-011-0/+1
|
* When working with sigset_t's, and needing to perform masking operations basedjmallett2002-10-011-1/+1
| | | | | | on a process's pending signals, use the signal queue flattener, ksiginfo_to_sigset_t, on the process, and on a local sigset_t, and then work with that as needed.
* - Give legacy an identify routine that always adds 'legacy0' at an orderjhb2002-09-302-6/+21
| | | | | | | of 1 so that it is not probed until after acpi0 is probed and attached. - In legacy_probe(), return ENXIO if acpi0 is around and alive. - nexus_attach() is now much simpler and just lets its child drivers do all the work.
* Trash the PnPBIOStable pointer later on when we know that the acpi probejhb2002-09-302-6/+6
| | | | | | and attach routines have succeeded so that if they fail we can still use the PnP BIOS to find ISA on-board devices. The fact that we do this here is gross but fixing it properly involves a lot more work.
* Turn back on the "SMP: AP CPU #N Launched!" message on normal boots.obrien2002-09-303-6/+3
| | | | | Peter's rev 1.189 should fix the lost console on SCSI-based systems due to this message.
* If GEOM is in the kernel, take these three out. I have no way ofphk2002-09-303-0/+9
| | | | | | | | testing any modifications to them, they shouldn't even bother with disklabels in the first place and they are just plain obsolete old hardware which should be axed entirely before 5.0-R IMO. Sponsored by: DARPA & NAI Labs.
* Only print out the "SMP: AP CPU #N Launched!" message on verbose boots.obrien2002-09-303-12/+12
| | | | The kernel printf() isn't race-free
* Save the FP state in the PCB as that is compatable with releng4 binaries.obrien2002-09-301-0/+10
| | | | | | | This is a band-aid until the KSE pthread committers get back on the ground and have their machines setup. Submitted by: eischen
* Deal with some SMP races by doing the entire copyin at once ratherpeter2002-09-281-15/+28
| | | | | | | than doing the checks piecemeal and then doing a second copyin later. PR: 38021 Submitted by: davidx (I've tweaked the patch a bit)
* There is no need for start/num to be signed in i386_ldt_args.peter2002-09-281-2/+2
|
* Repair range checking for reading the ldt list.peter2002-09-281-1/+1
| | | | | PR: 38016 Submitted by: davidx
* Don't call function in return() for a void function.phk2002-09-282-6/+10
|
* Be consistent about "static" functions: if the function is markedphk2002-09-284-4/+4
| | | | | | static in its prototype, mark it static at the definition too. Inspired by: FlexeLint warning #512
* Add the pst (Promise SX6000) driver to GENERIC.sos2002-09-271-0/+1
|
* Move the aac driver from MI to MD NOTES. It is a long way from beingscottl2002-09-261-0/+6
| | | | 64-bit clean.
* ISMEMSDP(), IS286GDP(), IS386GDP(), ISGDP(), ISSDP() and ISSYSSDP() arepeter2002-09-261-20/+0
| | | | not used anywhere anymore.
* Fix a declaration that is actually supposed to be a macro definition.markm2002-09-251-0/+1
| | | | Submitted by: marius@alchemy.franken.de
* Back out last commit. Linux uses the old 4.3BSD sockaddr format.mini2002-09-244-14/+10
|
* use __packed.alfred2002-09-236-20/+20
|
* Now that we only probe host-PCI bridges once, we no longer have to check tojhb2002-09-231-10/+0
| | | | see if we have been probed before by checking for a pciX bus device.
* Put verbose printf's in the PCI BIOS interrupt routing code underjhb2002-09-232-2/+8
| | | | if (bootverbose).
* Update the nexus driver for the addition of the legacy driver:jhb2002-09-232-113/+8
| | | | | | | | | - nexus no longer has PCI bridges as direct children, so the PCI bus ivar is no longer used and is removed. - Don't attach default EISA, ISA, or MCA busses. Instead, if we do not have an acpi0 device after bus_generic_probe(), add a legacy0 child device. - Remove machine/nexusvar.h.
* Hang apm off of the legacy device instead of the nexus.jhb2002-09-232-2/+2
|
* Change the nexus_pcib driver (eventually to be renamed to legacy_pcib) tojhb2002-09-231-7/+7
| | | | hang off of the legacy driver instead of the nexus.
* Add a new legacy(4) device driver for use on machines that do not havejhb2002-09-232-461/+112
| | | | | | | | ACPI or for when ACPI support is disabled or not present in the kernel. Basically, the nexus device is now split into two with some parts (such as adding default ISA, MCA, and EISA busses if they aren't found as well as support for PCI bus device ivars) being moved to the legacy driver.
* PIC_GOTOFF is OBE.peter2002-09-231-2/+0
|
OpenPOWER on IntegriCloud