revert between 56095 -> 55830 in arch
[AROS.git] / workbench / c / CPUInfo / x86_NatSemi.c
blob403d7fdfe9f66baf83eabdc43bd41323c85f83d9
1 /*
2 Copyright © 2000, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Probe installed National Semiconductor Geode CPUs and display relevant information
6 Lang: english
7 */
9 /* BIG TO DO - SEPERATE THE INDIVIDUAL PROCESSOR FAMILY "PROBES" INTO RUNTIME SHARED LIBS OR SIMILAR */
11 /****************************************************************************************************
12 Currently Supports:
14 i386 compatable families...
15 National Semiconductor Geode
17 *****************************************************************************************************/
19 #include "x86.h"
21 /********************************************
22 National Semiconductor specific information
23 ********************************************/
25 void parse_i386_NSC( int maxi, struct i386_compat_intern * CPUi386 )
28 struct CPU_INTERN_DATA *global;
29 ULONG __unused__ speed;
31 if ((global = AllocMem(sizeof(struct CPU_INTERN_DATA),MEMF_PUBLIC|MEMF_CLEAR)))
33 speed = i386_approx_mhz();
35 else
37 printf( "ERROR: Couldn't allocate memory to parse CPU information .." );
38 return;
40 FreeMem(global,sizeof(struct CPU_INTERN_DATA));