source: rtems/c/src/lib/libcpu/i386/cpuModel.h @ 1bfedfe

4.104.114.84.95
Last change on this file since 1bfedfe was 1715986, checked in by Joel Sherrill <joel.sherrill@…>, on 09/04/03 at 18:53:01

2003-09-04 Joel Sherrill <joel@…>

  • cpu.c, cpu.h, cpuModel.S, cpuModel.h, displayCpu.c, idtr.S, page.c: URL for license changed.
  • Property mode set to 100644
File size: 933 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.rtems.com/license/LICENSE.
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.