summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/cputypes.h
Commit message (Collapse)AuthorAgeFilesLines
* Begin all license/copyright comments with /*-imp2005-01-051-1/+1
|
* MFi386: move cpu_nameclass struct next to its only consumerpeter2004-06-031-5/+0
|
* Commit MD parts of a loosely functional AMD64 port. This is based onpeter2003-05-011-22/+5
| | | | | | | | | | | | | | | | | | | | | | a heavily stripped down FreeBSD/i386 (brutally stripped down actually) to attempt to get a stable base to start from. There is a lot missing still. Worth noting: - The kernel runs at 1GB in order to cheat with the pmap code. pmap uses a variation of the PAE code in order to avoid having to worry about 4 levels of page tables yet. - It boots in 64 bit "long mode" with a tiny trampoline embedded in the i386 loader. This simplifies locore.s greatly. - There are still quite a few fragments of i386-specific code that have not been translated yet, and some that I cheated and wrote dumb C versions of (bcopy etc). - It has both int 0x80 for syscalls (but using registers for argument passing, as is native on the amd64 ABI), and the 'syscall' instruction for syscalls. int 0x80 preserves all registers, 'syscall' does not. - I have tried to minimize looking at the NetBSD code, except in a couple of places (eg: to find which register they use to replace the trashed %rcx register in the syscall instruction). As a result, there is not a lot of similarity. I did look at NetBSD a few times while debugging to get some ideas about what I might have done wrong in my first attempt.
* Move a prototype to the least wrong place.phk2002-08-021-1/+0
| | | | Suggested by: bde
* Add initialization code for the AMD Elan sc520 which maps the MMCRphk2002-07-181-0/+1
| | | | into KVM and sets the i8254 frequency to the correct value.
* First shot at identifying the Pentum 4 acording to our reading of thepeter2000-09-291-2/+3
| | | | | | | | 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
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Recognize Pentium II Xeon, Celeron and Pentium III cpus. Because CPUkato1999-02-041-1/+2
| | | | | | | names are printed on their packages and shown by BIOS, kernel does not need to show details. PR: 8751, 9320 and 9463
* Add CPU_PII to the list.des1998-05-221-1/+2
|
* Don't include <machine/cputypes.h> or declare cputype/class interfacesbde1997-10-281-10/+19
| | | | | | | 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.
* Add new cpu type, CPU_CY486DX, which shows Cyrix 486S/DX series CPUs,kato1997-04-261-1/+2
| | | | | | and initialization routine for those CPUs. Tested by: Bob Bishop <rb@gid.co.uk>
* Improved CPU identification and initialization routines. Thiskato1997-03-221-2/+6
| | | | | | | | | | | | | supports All Cyrix CPUs, IBM Blue Lightning CPU and NexGen (now AMD) Nx586 CPU, and initialize special registers of Cyrix CPU and msr of IBM Blue Lightning CPU. If revision of Cyrix 6x86 CPU < 2.7, CPU cache is enabled in write-through mode. This can be disabled by kernel configuration options. Reviewed by: Bruce Evans <bde@freebsd.org> and Jordan K. Hubbard <jkh@freebsd.org>
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-221-1/+1
| | | | ready for it yet.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Fix a bunch of spelling errors in the comment fields ofmpp1996-01-301-2/+2
| | | | a bunch of system include files.
* Add Pentium Pro CPU detection and special handling. For now, all thedg1995-12-241-1/+3
| | | | | optimizations we have for 586s also apply to 686s...this will be fine- tuned in the future as appropriate.
* Detect if we're running on a Cyrix 486DLC and enable automatic cachepst1994-09-041-1/+2
| | | | | | | | | negation whenever we access memory between 640k and 1M. Original code from NetBSD 1.0-BETA. The exact origins are unclear but Theo de Raadt, Charles, and Michael V. may have contributed to it. Submitted by: pst
* Made all header files idempotent and moved incorrect common data fromwollman1993-11-071-1/+5
| | | | | headers into a related source file. Added cons.h as first step towards moving i386/i386/cons.h to machine/cons.h where it belongs.
* Define the types of cpu's there are, from NetBSDrgrimes1993-10-081-0/+49
OpenPOWER on IntegriCloud