forked from Imagelibrary/rtems
libcpu/i388: Fix warning i displayCpu.c
This commit is contained in:
@@ -1,9 +1,10 @@
|
|||||||
/* cpuModel.h
|
/*
|
||||||
*
|
|
||||||
* This file contains declaration for variables and code
|
* This file contains declaration for variables and code
|
||||||
* that may be used to get the Intel Cpu identification
|
* that may be used to get the Intel Cpu identification
|
||||||
* that has been performed by checkCPUtypeSetCr0 function.
|
* that has been performed by checkCPUtypeSetCr0 function.
|
||||||
*
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
* COPYRIGHT (c) 1998 valette@crf.canon.fr
|
* COPYRIGHT (c) 1998 valette@crf.canon.fr
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -30,7 +31,8 @@ extern char x86_vendor_id[13];
|
|||||||
extern int have_cpuid;
|
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 */
|
/* Display this information on console in ascii form */
|
||||||
|
extern void printCpuInfo(void);
|
||||||
|
|
||||||
/* determine if the CPU has a TSC */
|
/* determine if the CPU has a TSC */
|
||||||
#define x86_has_tsc() \
|
#define x86_has_tsc() \
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
/* displayCpu.c
|
/*
|
||||||
*
|
|
||||||
* This file contains code for displaying the Intel Cpu identification
|
* This file contains code for displaying the Intel Cpu identification
|
||||||
* that has been performed by checkCPUtypeSetCr0 function.
|
* that has been performed by checkCPUtypeSetCr0 function.
|
||||||
*
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
* This file was updated by Joel Sherrill <joel.sherrill@oarcorp.com>
|
* This file was updated by Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
* to define more capability bits, pick up more CPU model information,
|
* to define more capability bits, pick up more CPU model information,
|
||||||
* and add more model strings. --joel (April 2010)
|
* and add more model strings. --joel (April 2010)
|
||||||
|
|||||||
Reference in New Issue
Block a user