source: rtems/c/src/lib/libcpu/i386/cpuModel.h @ 400c552

4.104.114.84.95
Last change on this file since 400c552 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
23extern char hard_math;  /* flotting 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 */
Note: See TracBrowser for help on using the repository browser.