summaryrefslogtreecommitdiffstats
path: root/sys/amd64
Commit message (Collapse)AuthorAgeFilesLines
* Don't include <machine/cputypes.h> or declare cputype/class interfacesbde1997-10-287-33/+43
| | | | | | | in <machine/cpu.h>. Moved the declarations to <machine/cputypes.h>. Fixed style bugs in the moved code. Fixed everything that depended on the nested include. Don't include <machine/cpu.h> (in the changed files) unless something in it is used directly.
* Remove the stale `log' non-pseudodevice.joerg1997-10-281-2/+1
| | | | Found by: the new config(8) ;-)
* Moved declaration of etext from <machine/md_var.h> to <machine/cpu.h>bde1997-10-274-9/+8
| | | | | | | | and fixed everything that dependended on it being declared in the old place. It is used in "machine-independent" code in subr_prof.c. Moved declaration of btext from subr_prof.c to <machine/cpu.h>. It is machine-dependent.
* Oops, <machine/psl.h> is used unconditionally in -current.bde1997-10-272-6/+2
|
* Cleaned up #includes.bde1997-10-272-32/+34
| | | | | | Ifdefed conditionally used includes. Finished changing indentation of per-statement comments to 40.
* Bump MAXDSIZ to 512MB so that soft limits have a chance to actuallyjkh1997-10-271-2/+2
| | | | | regulate this. Reviewed by: dyson
* Check to see if the pv_limits are initialized before checking.dyson1997-10-271-2/+3
|
* Change the initial amount of memory allocated for pv_entries to be proportionaldyson1997-10-261-7/+18
| | | | | to the amount of system memory. Also, clean-up some of the new pv_entry mgmt code.
* - Do a bunch of gratuitous changes intended to make the code easier tonate1997-10-262-8/+8
| | | | | | | | | | | | follow. * Rename/reorder all of the pccard structures, change many of the member names to be descriptive, and follow more closely other 'bus' drivers naming schemes. * Rename a bunch of parameter and local variable names to be more consistant in the code. * Renamed the PCCARD 'crd' device to be the 'card' device * KNF and make the code consistant where it was obvious. * ifdef'd out some unused code
* Somehow an error crept in during the previous commit.dyson1997-10-251-8/+2
|
* Support garbage collecting the pmap pv entries. The management doesn'tdyson1997-10-251-2/+55
| | | | | happen until the system would have nearly failed anyway, so no signficant overhead is added. This helps large systems with lots of processes.
* Decrease the initial allocation for the zone allocations.dyson1997-10-241-2/+2
|
* Reference the DMI table inside the SMBIOS table correctly, not using a variablemsmith1997-10-211-2/+2
| | | | | that won't be initialised until a later test. Submitted by: bde via -Wunused
* Make all the documented (in pcvt(4)) options supported options. Whilejoerg1997-10-181-2/+1
| | | | | | | i was at it, do no longer insist on `PCVT_FREEBSD' being declared in the config file, but default it to a reasonable value. More cleanup to follow, but this part is safe for RELENG_2_2, too.
* Last major round (Unless Bruce thinks of somthing :-) of malloc changes.phk1997-10-121-1/+2
| | | | | | | | Distribute all but the most fundamental malloc types. This time I also remembered the trick to making things static: Put "static" in front of them. A couple of finer points by: bde
* Try and fix some style problemspeter1997-10-123-45/+54
|
* Allow "foo0: disabled, not probed" message to stay, but make it conditionaljkh1997-10-121-4/+4
| | | | | on bootverbose so that those who _really wanna know_ still can. Compromise suggested by: joerg
* Distribute and statizice a lot of the malloc M_* types.phk1997-10-111-2/+3
| | | | Substantial input from: bde
* Compensate for pcb.h tweaks.peter1997-10-103-3/+10
| | | | (Bruce pointed out the nesting)
* Don't #include unneeded includes here. pcb_ext.h picks up lots of otherpeter1997-10-101-4/+2
| | | | stuff with it.
* GPROC0_SEL isn't used in any *.s files it seems..peter1997-10-101-3/+1
|
* Convert the VM86 option from a global option to an option only dependedpeter1997-10-1015-15/+37
| | | | | on by the files that use it. Changing the VM86 option now only causes a recompile of a dozen files or so rather than the entire kernel.
* - Enable PS/2 mouse support by default. Given that almost all new hardwarenate1997-10-081-2/+2
| | | | | | | | has a PS/2 port, this is a good thing. Note, older 386/486 boxes may lockup the keyboard controller with this enabled, but most of these kinds of machines don't run -current, so the benefits outweigh the downsides. Discussed with: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
* Added two Cyrix 6x86/6x86MX options.kato1997-10-061-7/+35
| | | | | | - CPU_CYRIX_NO_LOCK enables weak locking. If this option is not set and FAILESAFE is defined, NO_LOCK bit of CCR1 is cleared. - CPU_WT_ALLOC enables write-through allocation.
* It is possible that MB's with really broken bios's not set up more ofdyson1997-10-063-0/+24
| | | | the mtrr registers. This just fills in more of the registers.
* Make sure that the memory type registers are the same for each CPUdyson1997-10-053-3/+159
| | | | | | in a P6 SMP system. Some MB bios'es don't set the registers up correctly for the AP's. Additionally, set the memory between 0xa0000 and 0xbffff as write combining.
* Call identifycyrix() when 6x86MX CPU is found. The identifycyrix()kato1997-10-031-2/+3
| | | | | | function sets cyrix_did. Old code could not display correct variable. Reviewed by: Hideyuki Suzuki <hideyuki@sat.t.u-tokyo.ac.jp>
* Fix a serious bug I introduced while adding in support for CAM interrupts.gibbs1997-09-284-17/+24
| | | | | | | | | | | | It seems I didn't count my 0's properly when adding the new masks into icu_vector.s pushing SWI_AST_MASK off the end of the array and screwing up the indexing for SWI_CLOCK_MASK. Fix the bug icu_vector.s and also reformat the code in both icu_vector.s and apic_vector.s so that it will be much harder to make the same mistake in the future. Submitted by: Bruce Evans <bde@zeta.org.au>
* Add a small hack to support the strange antics of the Unisys ELI 4003. Thismckay1997-09-282-20/+44
| | | | | | machine generates an NMI for each floating point error, just like an old XT. Since it is ISA only, reading the EISA status port yields 0xff, which would give a spurious EISA panic. The simplest thing to do is to ignore the 0xff.
* Fix a bug where the speculative memory probe wouldn't occur on systems thatdg1997-09-251-2/+2
| | | | | | report slightly more than 64MB of total memory. This can happen due to the total being the sum of both base and extended memory. Submitted by: Alan Cox <alc@cs.rice.edu>
* Look for another couple of magic bios things..phk1997-09-241-2/+8
|
* Moved setconf() call after root configuration again. This fixes abde1997-09-231-4/+3
| | | | | | null pointer panic in the "generic" version of setconf(). Removed the resulting near-duplicate printf.
* Turn on CR4_VME on the AP's the same as the BSP. Note that we do notpeter1997-09-221-1/+13
| | | | | | | [yet] probe the AP's for their cpuid/capabilities etc, so this is a fudge at best. Problem noted by: Jonathan Lemon <jlemon@americantv.com>
* Oops. This file shouldn't have been committed.gibbs1997-09-221-18/+17
|
* aha1542.c aic6360.c cy.c fd.c ft.cgibbs1997-09-215-17/+39
| | | | | | | | | | | | if_ie.c if_wl.c if_zp.c isa.c isa_device.h labpc.c mcd.c ncr5380.c scd.c seagate.c si.c sio.c tw.c ultra14f.c wcd.c wd.c: Update for changes in the callout interface. apic_vector.s icu_vector.s ipl.s ipl_funcs.c: Add CAM software/hardware interrupt support.
* autoconf.c:gibbs1997-09-213-13/+48
| | | | | | | | | | | | | Add cpu_rootconf and cpu_dumpconf so that configuring these two devices can be better controlled by the MI configuration code. machdep.c: MD initialization code for the new callout interface. trap.c: Add support for printing out whether cam interrupts are masked during a panic.
* Move the rules for aicasm to the MI conf file.gibbs1997-09-211-18/+19
|
* Implement the parts needed for VM86 under SMP.peter1997-09-218-31/+106
|
* Add support for more than 1 page of idle process stack on SMP systems.dyson1997-09-216-79/+132
|
* For AMD chips, pick up the long description from the chip ifphk1997-09-201-1/+71
| | | | | | | possible. (This is not really a typographical improvement in the case of the K6 it seems, but AMD appearantly want it too look that way). Also if bootverbose, dump some more info about the chip.
* teach pnp to keep isa_device structs around, and teach isa.c how to scanjmg1997-09-191-4/+15
| | | | | | | | | | | | | these structs for conflics... it still exist that two PnP cards can colide, but this is up to the user to make sure it doesn't happen... other modifications to pnp.c to format output properly, and hide more output behind bootverbose flag... fix some bugons in pnp.h that would of made it difficult for inclusion in external programs (for import of pnpinfo)
* Addf flags 0x10 to the sio0 line, so it is available as a potentialjoerg1997-09-141-2/+2
| | | | | console. This features backwards-compatibility to the era when sio(4) was always available for a console.
* Update select -> poll in drivers.peter1997-09-141-7/+7
|
* Revert the logic behind my last change, and use a function calledjoerg1997-09-132-7/+7
| | | | | | | `is_physical_memory()' now for the decision whether to dump some region of memory or not. Suggested by: davidg
* Do not ever try to coredump adapter memory regions.joerg1997-09-102-2/+31
| | | | | | | | | PR: 4486 Submitted by: tegge@idi.ntnu.no (Tor Egge) Implement a function is_adapter_memory() in order to determine what should nto be dumped at all. Currently, only populated with the ``ISA memory hole''. Adapter regions of other busses should be added.
* add neccessary calls to autoconf for pnp,jmg1997-09-091-1/+10
| | | | also teach userconfig about the new pnp commands, for usage see pnp(4)
* Change an assemble-time divide into a shift. Under binutils-2.8 gas in elfpeter1997-09-083-6/+6
| | | | | | mode, the slash is a comment leader, while under non-elf it is a divide symbol (what a concept! :-). Theoretically, #APP/#NO_APP can change this but that doesn't seem to mesh too well with macros and line continuation.
* General cleanup of the lock pushdown code. They are grouped and enabledfsmp1997-09-0712-124/+166
| | | | | | | | | from machine/smptests.h: #define PUSHDOWN_LEVEL_1 #define PUSHDOWN_LEVEL_2 #define PUSHDOWN_LEVEL_3 #define PUSHDOWN_LEVEL_4_NOT
* Fix an intermittent problem during SMP code operation. Not all of thedyson1997-09-071-2/+2
| | | | | idle page table directories for all of the processors was being updated during kernel grow operations. The problem appears to be gone now.
* Argh, what was I thinking?? Don't (yet) halt the CPU in the idle looppeter1997-09-052-2/+6
| | | | | | | | | while waiting for an interrupt (rather than spinning on the runqueue status bits), since the other cpu can put stuff in there and the sleeping cpu may not get an interrupt for a while. When we have a reschedule IPI, this can come back. Pointed out by: fsmp
OpenPOWER on IntegriCloud