forked from Imagelibrary/rtems
2002-03-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* cpuModel.h: PR 146. Adding guards. Remove unnecessary headers.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2002-03-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
|
* cpuModel.h: PR 146.
|
||||||
|
Adding guards. Remove unnecessary headers.
|
||||||
|
|
||||||
2002-01-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2002-01-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* i386/displayCpu.c: Include rtems/bspIo.h instead of bspIo.h.
|
* i386/displayCpu.c: Include rtems/bspIo.h instead of bspIo.h.
|
||||||
|
|||||||
@@ -13,14 +13,14 @@
|
|||||||
* $Id$
|
* $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef libcpu_cpuModel_h
|
||||||
|
#define libcpu_cpuModel_h
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Tell us the machine setup..
|
* Tell us the machine setup..
|
||||||
*/
|
*/
|
||||||
#include <stdio.h>
|
|
||||||
#include <libcpu/cpu.h>
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
extern char hard_math; /* flotting point coprocessor present indicator */
|
extern char hard_math; /* floating point coprocessor present indicator */
|
||||||
extern char x86; /* type of cpu (3 = 386, 4 =486, ...) */
|
extern char x86; /* type of cpu (3 = 386, 4 =486, ...) */
|
||||||
extern char x86_model;
|
extern char x86_model;
|
||||||
extern char x86_mask;
|
extern char x86_mask;
|
||||||
@@ -30,3 +30,5 @@ extern int have_cpuid;
|
|||||||
extern unsigned char Cx86_step; /* cyrix processor identification */
|
extern unsigned char Cx86_step; /* cyrix processor identification */
|
||||||
|
|
||||||
extern void printCpuInfo(); /* Display this information on console in ascii form */
|
extern void printCpuInfo(); /* Display this information on console in ascii form */
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user