source: rtems/c/src/lib/libcpu/i386/cpuModel.h @ 4cf920c4

4.104.114.84.95
Last change on this file since 4cf920c4 was 5cf3f41, checked in by Joel Sherrill <joel.sherrill@…>, on Mar 20, 2002 at 2:12:33 PM

2002-03-19 Ralf Corsepius <corsepiu@…>

  • cpuModel.h: PR 146. Adding guards. Remove unnecessary headers.
  • Property mode set to 100644
File size: 938 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#ifndef libcpu_cpuModel_h
17#define libcpu_cpuModel_h
18
19/*
20 * Tell us the machine setup..
21 */
22
23extern char hard_math;  /* floating point coprocessor present indicator */
24extern char x86;        /* type of cpu (3 = 386, 4 =486, ...) */
25extern char x86_model;
26extern char x86_mask;
27extern int x86_capability;
28extern char x86_vendor_id[13];
29extern int have_cpuid; 
30extern unsigned char Cx86_step; /* cyrix processor identification */
31
32extern void printCpuInfo(); /* Display this information on console in ascii form */
33
34#endif
Note: See TracBrowser for help on using the repository browser.