summaryrefslogtreecommitdiffstats
path: root/sys/i386
Commit message (Collapse)AuthorAgeFilesLines
...
* Skip PG_UNMANAGED pages when we're shooting everything down to try andpeter2001-11-011-1/+1
| | | | | | reclaim pv_entries. PG_UNMANAGED pages dont have pv_entries to reclaim. Reported by: David Xu <davidx@viasoft.com.cn>
* Remove previous revision. smp_started back in subr_smp where it belongs.mjacob2001-10-313-6/+0
|
* Make the actual volatile int smp_started live *somewhere*. This ismjacob2001-10-313-0/+6
| | | | | | a temporary fix so that we can compile kernels. I waited 30 minutes for a response from the person who would likely know, but any longer is too long to wait with breakage at ToT.
* Spell deivces as devices.rwatson2001-10-312-2/+2
|
* Don't let pmap_object_init_pt() exhaust all available free pagesdillon2001-10-311-1/+17
| | | | | | (allocating pv entries w/ zalloci) when called in a loop due to an madvise(). It is possible to completely exhaust the free page list and cause a system panic when an expected allocation fails.
* Don't try to probe the PnP BIOS if ACPI is active.msmith2001-10-311-0/+5
|
* Add kmupetext(), a function that expands the range of memory coveredgreen2001-10-301-0/+1
| | | | | | | | | by the profiler on a running system. This is not done sparsely, as memory is cheaper than processor speed and each gprof mcount() and mexitcount() operation is already very expensive. Obtained from: NAI Labs CBOSS project Funded by: DARPA
* MFGeneric: ->1.327 Sync with GENERICimp2001-10-301-10/+11
|
* Move device lnc to isa section, since it no longer uses the compat shims.imp2001-10-301-3/+2
| | | | | | Add comment about lnc. Remove probe order comment from isa_compat.c. That appears to no longer be the case.
* Fix a typo in comment and #ifdef fixes: GRAP_PRIO -> GRAB_PRIO so thatjhb2001-10-301-1/+1
| | | | | | | x86 SMP kernels actually boot again to single user mode. Pointy hat to: jhb Noticed by: jlemon
* Don't set CR0_NE in cpu_setregs() for the SMP case, since setting itbde2001-10-291-0/+2
| | | | | | | is npx.c's job and setting it here breaks the edit-time option of not setting it in npx.c. (It is not set in the right places for the SMP case, but always setting it here is harmless because there isn't even an edit-time option to not set it.)
* - More whitespace and comment cleanups.jhb2001-10-281-35/+46
| | | | | | | | - Remove unused sw1a label. A breakpoint can be set in choosethread() for the same effect. Reviewed by: bde Submitted by: bde (partly)
* Eliminate the prefix parameter to linux_emul_find(), which was alwaysdes2001-10-271-2/+2
| | | | | | | | linux_emul_path anyway. Linux_emul_find() has interesting bugs in its prefix handling (which luckily are not currently exploitable); this commit is preliminary to an attempt at cleaning it up. Approved by: marcel
* Add APM compatibility feature to ACPI.iwasaki2001-10-261-0/+335
| | | | | | | | | | | | | | | | | This emulates APM device node interface APIs (mainly ioctl) and provides APM services for the applications. The goal is to support most of APM applications without any changes. Implemented ioctls in this commit are: - APMIO_SUSPEND (mapped ACPI S3 as default but changable by sysctl) - APMIO_STANDBY (mapped ACPI S1 as default but changable by sysctl) - APMIO_GETINFO and APMIO_GETINFO_OLD - APMIO_GETPWSTATUS With above, many APM applications which get batteries, ac-line info. and transition the system into suspend/standby mode (such as wmapm, xbatt) should work with ACPI enabled kernel (if ACPI works well :-) Reviewed by: arch@, audit@ and some guys
* Add a per-thread ucred reference for syscalls and synchronous traps fromjhb2001-10-261-26/+37
| | | | | | | | | userland. The per thread ucred reference is immutable and thus needs no locks to be read. However, until all the proc locking associated with writes to p_ucred are completed, it is still not safe to use the per-thread reference. Tested on: x86 (SMP), alpha, sparc64
* Remove wx driver, which got recently removed.asmodai2001-10-251-1/+0
| | | | Submitted by: revamped kernincludes.sh
* Unbreak NEWCARD by removing options NFS and replacing it with theasmodai2001-10-251-1/+2
| | | | | | new NFSCLIENT and NFSSERVER options. Submitted by: revamped kernincludes.sh
* Currently no code does a CROSSJUMP() to sw1a, so we don't need ajhb2001-10-251-2/+0
| | | | | | CROSSJUMPTARGET() for it. Submitted by: bde
* Use %ecx instead of %ebx for the scratch register while updating %dr7 sincejhb2001-10-251-5/+3
| | | | | | | %ecx isn't a call safe register and thus we don't have to save and restore it. Submitted by: bde
* - Fix typo in comment from previous revision.jhb2001-10-251-3/+4
| | | | | | | | - Fix a bug in the LDT changes where the wrong argument was passed to set_user_ldt() from cpu_switch(). The bug was passing a pointer to the ldt, but set_user_ldt() takes a pointer to the process' mdproc structure. Submitted by: bde
* Whitespace, comment, and string fixes.jhb2001-10-251-43/+39
| | | | Submitted by: bde (mostly)
* Fixed misformatting of options line for COMPAQ_M610 and EICON_DIVA inbde2001-10-251-22/+22
| | | | | | | | | | | rev.1.974. Fixed previous misformatting of options line for ACCEPT_FILTER_DATA, ACCEPT_FILTER_HTTP, ACPI_DEBUG, COMPAT_SVR4, DEBUG_SVR4, ED_NO_MIIBUS, IFS, PCFCLOCK_MAX_RETRIES, PCFCLOCK_VERBOSE, PECOFF_DEBUG, PECOFF_SUPPORT, PPC_PROBE_CHIPSET, RANDOM_IP_ID, REGRESSION, SC_CUT_SEPCHARS, SC_CUT_SPACES2TABS, SES_ENABLE_PASSTHROUGH, UFS_DIRHASH, UFS_EXTATTR and UFS_EXTATTR_AUTOSTART.
* Fixed bugs in rev.1.973. Actually enable PCI_ENABLE_IO_MODES. Itbde2001-10-251-1/+2
| | | | | | | | | | defeats the point of LINT to comment out positive options. Fixed style bugs in rev.1.973: - disordering of PCI options list. - missing space after "options". - line longer than 80 characters. - bogus quoting of "BIOS".
* add options line for Compaq Microcom 610 ISDN card.hm2001-10-251-1/+4
|
* Add PCI_ENABLE_IO_MODES option, for BIOSen that neglect this.jlemon2001-10-252-0/+2
| | | | Submitted by: Andrew R. Reiter arr@watson.org
* Backout 1.61 -- both intrcnt and intrnames are already exportedluigi2001-10-252-12/+0
| | | | via sysctl under "hw".
* Split the per-process Local Descriptor Table out of the PCB and intojhb2001-10-258-84/+104
| | | | | | | struct mdproc. Submitted by: Andrew R. Reiter <arr@watson.org> Silence on: -current
* - Clean up the comments slightly here to make them more readable.jhb2001-10-241-3/+7
| | | | | | | | - Set the type and trapframe number for the F00F workaround since type can be used later by sv_transtrap(). Debuggers might also want to look at the type in the trapframe. Submitted by: bde (mostly)
* Set the code and signal for the F00F hack fault directly instead ofjhb2001-10-231-7/+3
| | | | | | | changing the code in the trapframe and looping back to the top of trap again. Tested by: cjc
* Implement multiple low-level console support.jlemon2001-10-231-1/+1
|
* Remove funky right justification.mike2001-10-231-9/+9
| | | | Pointed out by: bde
* wx is an ex-parrot. wx doesn't exist any more, so remove it.imp2001-10-221-1/+0
|
* Move procfs_* from procfs_machdep.c into sys_process.c, and rename them todes2001-10-211-162/+0
| | | | | | proc_* in the process; procfs_machdep.c is no longer needed. Run-tested on i386, build-tested on Alpha, untested on other platforms.
* [partially forced commit due to pilot error in earlier commit attempt]des2001-10-212-6/+6
| | | | | | | | | | | | | | | | | {set,fill}_{,fp,db}regs() fixup: - Add dummy {set,fill}_dbregs() on architectures that don't have them. - KSEfy the powerpc versions (struct proc -> struct thread). - Some architectures had the prototypes in md_var.h, some in reg.h, and some in both; for consistency, move them to reg.h on all platforms. These functions aren't really MD (the implementation is MD, but the interface is MI), so they should move to an MI header, but I haven't figured out which one yet. Run-tested on i386, build-tested on Alpha, untested on other platforms.
* Add a driver for the Compaq Microcom 610 ISDN (Compaq series PSB2222I) ISA PnPhm2001-10-211-4/+4
| | | | | | | | card. Submitted by: Steve Looman Reviewed by: hm MFC after: 1 month
* MFi386:bde2001-10-211-0/+2
| | | | | | | | | - sys/pc98/pc98/npx.c 1.87 (2001/09/15; author: imp) I don't think pc98 has acpi at all, so ifdef the acpi attachments for now. This completes merging sys/pc98/pc98/npx.c into sys/i386/isa/npx.c so that the former can be removed.
* MFpc98: fundamental differences. The magic numbers for the i/o portbde2001-10-211-0/+17
| | | | | | and the irq are different for pc98, and are not very well handled (we use a historical mess of hard-coded values, values from header files and values from hints).
* MFpc98: all changes in sys/pc98/pc98/npx.c related to FPU_ERROR_BROKEN.bde2001-10-211-0/+9
| | | | | | | | | | | | | | - 1.58 (2000/09/01; author: kato) Fixed FPU_ERROR_BROKEN code. It had old-isa code. - 1.33 (1998/03/09; author: kato) Make FPU_ERROR_BROKEN a new-style option. - 1.7 (1996/10/09; author: asami) Make sure FPU is recognized for non-Intel CPUs. The log for rev.1.7 should have said something like: Added FPU_ERROR_BROKEN option. This forces a successful probe for exception 16, so that hardware with a broken FPU error signal can sort of work.
* Remove wx.mjacob2001-10-202-6/+0
|
* Drop support for x87 emulation. Any CPU one would dare to run 5-CURRENTobrien2001-10-201-1/+0
| | | | on would have built-in FP support.
* Fix the typedef of va_list.ru2001-10-191-1/+3
|
* Try two on the preprocessing logic.obrien2001-10-191-2/+2
| | | | Reviewed by: ru
* Blah, fix braino where ru had to remind me of proper preprocessor syntax.obrien2001-10-191-1/+1
| | | | Bad fingers, no cookie.
* Fix the le driver - it has been broken for a while and these fixes havejlemon2001-10-191-27/+21
| | | | been sitting neglected in my tree.
* Add entry for the PRO/1000.jlemon2001-10-191-0/+2
|
* Add verbage for MODULES_OVERRIDE.imp2001-10-181-0/+4
|
* My attempts at minimizing the number of #def's got me in trouble.obrien2001-10-181-5/+5
|
* Add experimental support for sending keypad facility messages.hm2001-10-182-7/+20
| | | | MFC after: 2 months
* Add support for "__gnuc_va_list". Some overly "smart" libraries assumeobrien2001-10-181-0/+8
| | | | | | | the existence of the __gnuc_va_list type[*] because our compiler is GCC. [*] __gnuc_va_list is defined in the GCC ginclude/stdarg.h replacement headerwhich we don't use.
* Minor comment tweaking.obrien2001-10-171-4/+4
|
OpenPOWER on IntegriCloud