summaryrefslogtreecommitdiffstats
path: root/sys/i386
Commit message (Collapse)AuthorAgeFilesLines
* Delete some leftover code from a bygone age. We dont have an array ofpeter2001-12-111-11/+1
| | | | IdlePTDS anymore and dont to the PTD[MPPTDI] swapping etc.
* Add new boot flag to i386 boot: -p.guido2001-12-101-1/+1
| | | | | | | | | | | | This flag adds a pausing utility. When ran with -p, during the kernel probing phase, the kernel will pause after each line of output. This pausing can be ended with the '.' key, and is automatically suspended when entering ddb. This flag comes in handy at systems without a serial port that either hang during booting or reser. Reviewed by: (partly by jlemon) MFC after: 1 week
* Add identification string for AMD-761 host to PCI bridge.murray2001-12-101-0/+3
| | | | PR: kern/32255
* Update to C99, s/__FUNCTION__/__func__/,obrien2001-12-103-6/+6
| | | | also don't use ANSI string concatenation.
* style(9)obrien2001-12-091-7/+7
|
* Allow maxusers to be specified as 0 in the kernel config, which willdillon2001-12-093-3/+4
| | | | | | | cause the system to auto-size to between 32 and 512 depending on the amount of memory. MFC after: 1 week
* o Whitespace sync to GENERICrwatson2001-12-051-1/+1
|
* Update pathnames for creation of tags file.mckusick2001-12-051-1/+1
|
* PROCFS requires PSEUDOFS.des2001-12-041-1/+2
|
* PROCFS requires PSEUDOFS. I forgot that GENERIC didn't have PSEUDOFS yet.des2001-12-041-1/+2
|
* PROCFS requires PSEUDOFS now.des2001-12-041-1/+1
|
* Add a missing open paren to a macro that's been broken (and apparentlyjhb2001-12-041-1/+1
| | | | | | unused) since rev 1.1 so it is at least correct. Submitted by: Maxime Henrion <mux@qualys.com>
* o Stop abusing MD headers with non-MD types.mike2001-12-011-2/+0
| | | | | | | | | | | | | | | o Hide nonstandard functions and types in <netinet/in.h> when _POSIX_SOURCE is defined. o Add some missing types (required by POSIX.1-200x) to <netinet/in.h>. o Restore vendor ID from Rev 1.1 in <netinet/in.h> and make use of new __FBSDID() macro. o Fix some miscellaneous issues in <arpa/inet.h>. o Correct final argument for the inet_ntop() function (POSIX.1-200x). o Get rid of the namespace pollution from <sys/types.h> in <arpa/inet.h>. Reviewed by: fenner Partially submitted by: bde
* cpuid bit 30 is 'IA64', for when you're running in i386 mode on an ia64peter2001-11-301-1/+1
| | | | | cpu. (This is for either userland apps running in i386 mode on an ia64 OS, or when the cpu is in i386 legacy mode running an i386 OS).
* Whitespace fixes so thre 386 versoion of __uint8_swap_uint32 is easier tojhb2001-11-281-2/+4
| | | | read.
* Clean up some of the gross macros whitespace wise before I fix the asmjhb2001-11-281-20/+22
| | | | constraints.
* Add the 'ciss' driver, which supports the Compaq SmartRAID 5* family ofmsmith2001-11-271-0/+7
| | | | | | | | | RAID controllers (5300, 532, 5i, etc.) Thanks to Compaq and Yahoo! for support during the development of this driver. MFC after: 1 week
* MFS: I was confused. This code wasn't in -current after all.imp2001-11-262-10/+28
| | | | | | | Merge in the irq 0 detection. Add comment about why. If we have irq 0, ignore it like we do irq 255. Some BIOS writers aren't careful like they should be.
* Add driver for Granch SBNI12-xx ISA and PCI network adapters.fjoe2001-11-211-0/+6
| | | | MFC after: 1 week
* Convert BSD trap codes to i386.pb2001-11-201-2/+41
| | | | Submitted by: F. Gouget <fgouget@free.fr>
* Yet another verbose printing cleanup. Remove debug_wakeup flag andiwasaki2001-11-181-5/+2
| | | | check common verbose flag instead.
* Fix the non-KSTACK_GUARD case.. It has been broken since the KSEpeter2001-11-171-0/+1
| | | | commit. ptek was not been initialized.
* Start bringing i386/pmap.c into line with cleanups that were done topeter2001-11-174-258/+193
| | | | | | | | | | | | | | | alpha pmap. In particular - - pd_entry_t and pt_entry_t are now u_int32_t instead of a pointer. This is to enable cleaner PAE and x86-64 support down the track sor that we can change the pd_entry_t/pt_entry_t types to 64 bit entities. - Terminate "unsigned *ptep, pte" with extreme prejudice and use the correct pt_entry_t/pd_entry_t types. - Various other cosmetic changes to match cleanups elsewhere. - This eliminates a boatload of casts. - use VM_MAXUSER_ADDRESS in place of UPT_MIN_ADDRESS in a couple of places where we're testing user address space limits. Assuming the page tables start directly after the end of user space is not a safe assumption. There is still more to go.
* Handle the IBCS2 FIONREAD ioctl. I have only tested that thisiedowse2001-11-161-0/+1
| | | | | | | compiles, but the patch looks reasonable. PR: i386/5784 Submitted by: Remy NONNENMACHER <remy@synx.com>
* Oops, I accidently merged a whitespace error from the original commit.peter2001-11-161-1/+1
| | | | (whitespace at end of line in rev 1.264 pmap.c). Fix them all.
* Converge/fix some debug code (#if 0'ed on alpha, but whatever)peter2001-11-161-14/+11
| | | | | | - use NPTEPG/NPDEPG instead of magic 1024 (important for PAE) - use pt_entry_t instead of unsigned (important for PAE) - use vm_offset_t instead of unsigned for va's (important for x86-64)
* Allow bit 21 of EFLAGS register (PSL_ID) be changed in the use-mode withoutsobomax2001-11-151-1/+1
| | | | | | | | | | ill effects. This should fix problems threaded programs are having with auto-detecting CPU type. Reported by: Joe Clarke <marcus@marcuscom.com> Tested by: Joe Clarke <marcus@marcuscom.com> Reviewed by: jhb MFC after: 1 week
* Document the atkbd flags of 0x03 and be explicit to mention this mightasmodai2001-11-151-0/+2
| | | | | | | | fit some dockingstation keyboard probing. PR: 23681 Submitted by: yokota [PR issued by: Claude Lefrancois <lmcclef@lmc.ericsson.se>]
* - Don't enable interrupts in trap() if we trapped while holding a spinjhb2001-11-151-6/+17
| | | | | | | | lock as this usually makes the problem worse. - If we get a page fault while holding a spin lock, treat it as a fatal trap and don't even bother calling into the VM since calling into the VM will panic when trying to lock Giant before we can get a useful message anyways.
* Axe NFS_NOSERVER since it doesn't do anything anymore. Remove NFSSERVERjhb2001-11-151-1/+0
| | | | from your config file instead.
* Replace use of "0" constraints in inline asm with "+" constraints,keramida2001-11-131-4/+4
| | | | | | when an operand is used both for input and output. Reviewed by: jhb
* Change constraints to use "+" in inline asm instead of mapping inputkeramida2001-11-121-1/+1
| | | | | | to output parameters with "0". Reviewed by: jhb
* Use newer constraints for atomic_cmpset().jhb2001-11-121-11/+9
| | | | Requested by: bde
* Use newer constraints for inline assembly for an operand that is both anjhb2001-11-121-21/+21
| | | | | | | input and an output by using the '+' modifier rather than listing the operand in both the input and output sections. Reviwed by: bde
* Back out last commit, it was accidentalimp2001-11-111-79/+79
|
* s/PCCARD_/PCMCIA_/g in NEWCARD device tables to enable easier NetBSD sharingimp2001-11-111-79/+79
|
* Add two minor changes.iwasaki2001-11-111-33/+44
| | | | | | - clean up wakeup routing fixup code by using macros. - allocate pte object temporary for kernel thread to avoid kernel panic by events from sleep button or lid switch.
* Fix tab damage in rev 1.326.obrien2001-11-061-1/+1
|
* Add S4BIOS sleep (BIOS hibernation) and DSDT overriding support.iwasaki2001-11-061-1/+9
| | | | | | | | | | | | | | - Add S4BIOS sleep implementation. This will works well if MIB hw.acpi.s4bios is set (and of course BIOS supports it and hibernation is enabled correctly). - Add DSDT overriding support which is submitted by takawata originally. If loader tunable acpi_dsdt_load="YES" and DSDT file is set to acpi_dsdt_name (default DSDT file name is /boot/acpi_dsdt.aml), ACPI CA core loads DSDT from given file rather than BIOS memory block. DSDT file can be generated by iasl in ports/devel/acpicatools/. - Add new files so that we can add our proposed additional code to Intel ACPI CA into these files temporary. They will be removed when similar code is added into ACPI CA officially.
* GC userconfig after Peter axed it 15 months ago.phk2001-11-051-3148/+0
|
* Also remove the .h files for the old rp driver.phk2001-11-052-1137/+0
|
* Remove the old RocketPort driver which was left behind in favourphk2001-11-051-1988/+0
| | | | of the new driver. The new driver works, the old one is 1+ year behind.
* Don't call cdevsw_add().phk2001-11-041-3/+0
|
* Don't call devsw_add().phk2001-11-041-4/+0
|
* Don't call cdevsw_add().phk2001-11-047-26/+0
|
* Don't call cdevsw_add()phk2001-11-041-4/+0
|
* Call to cdevsw_add() no longer needed.phk2001-11-041-1/+0
|
* o Add new header <sys/stdint.h>.mike2001-11-024-0/+470
| | | | | | | | | | | | | | | | | | | | | o Make <stdint.h> a symbolic link to <sys/stdint.h>. o Move most of <sys/inttypes.h> into <sys/stdint.h>, as per C99. o Remove <sys/inttypes.h>. o Adjust includes in sys/types.h and boot/efi/include/ia64/efibind.h to reflect new location of integer types in <sys/stdint.h>. o Remove previously symbolicly linked <inttypes.h>, instead create a new file. o Add MD headers <machine/_inttypes.h> from NetBSD. o Include <sys/stdint.h> in <inttypes.h>, as required by C99; and include <machine/_inttypes.h> in <inttypes.h>, to fill in the remaining requirements for <inttypes.h>. o Add additional integer types in <machine/ansi.h> and <machine/limits.h> which are included via <sys/stdint.h>. Partially obtain from: NetBSD Tested on: alpha, i386 Discussed on: freebsd-standards@bostonradio.org Reviewed by: bde, fenner, obrien, wollman
* The sound drivers live in sound/driver, not sound/driversimp2001-11-021-1/+1
| | | | submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
* Some fix for the recent apm module changes.iwasaki2001-11-014-18/+200
| | | | | | | | | | | | | | - Now that apm loadable module can inform its existence to other kernel components (e.g. i386/isa/clock.c:startrtclock()'s TCS hack). - Exchange priority of SI_SUB_CPU and SI_SUB_KLD for above purpose. - Add simple arbitration mechanism for APM vs. ACPI. This prevents the kernel enables both of them. - Remove obsolete `#ifdef DEV_APM' related code. - Add abstracted interface for Powermanagement operations. Public apm(4) functions, such as apm_suspend(), should be replaced new interfaces. Currently only power_pm_suspend (successor of apm_suspend) is implemented. Reviewed by: peter, arch@ and audit@
OpenPOWER on IntegriCloud