4.104.114.84.95
Last change
on this file since 4a238002 was
bd8c8b2a,
checked in by Joel Sherrill <joel.sherrill@…>, on 08/05/98 at 16:51:39
|
Patch from Eric Valette <valette@…> which brings the i386ex BSP
inline with the new IRQ structure.
|
-
Property mode set to
100644
|
File size:
940 bytes
|
Line | |
---|
1 | /* cpuModel.h |
---|
2 | * |
---|
3 | * This file contains declaration for variables and code |
---|
4 | * that may be used to get the Intel Cpu identification |
---|
5 | * that has been performed by checkCPUtypeSetCr0 function. |
---|
6 | * |
---|
7 | * COPYRIGHT (c) 1998 valette@crf.canon.fr |
---|
8 | * |
---|
9 | * The license and distribution terms for this file may be |
---|
10 | * found in the file LICENSE in this distribution or at |
---|
11 | * http://www.OARcorp.com/rtems/license.html. |
---|
12 | * |
---|
13 | * $Id$ |
---|
14 | */ |
---|
15 | |
---|
16 | /* |
---|
17 | * Tell us the machine setup.. |
---|
18 | */ |
---|
19 | #include <stdio.h> |
---|
20 | #include <libcpu/cpu.h> |
---|
21 | #include <string.h> |
---|
22 | |
---|
23 | extern char hard_math; /* flotting point coprocessor present indicator */ |
---|
24 | extern char x86; /* type of cpu (3 = 386, 4 =486, ...) */ |
---|
25 | extern char x86_model; |
---|
26 | extern char x86_mask; |
---|
27 | extern int x86_capability; |
---|
28 | extern char x86_vendor_id[13]; |
---|
29 | extern int have_cpuid; |
---|
30 | extern unsigned char Cx86_step; /* cyrix processor identification */ |
---|
31 | |
---|
32 | extern void printCpuInfo(); /* Display this information on console in ascii form */ |
---|
Note: See
TracBrowser
for help on using the repository browser.