revert between 56095 -> 55830 in arch
[AROS.git] / workbench / c / CPUInfo / cpuinfo.h
blob4a7e62c0161299c16d64fd47162909be755e36e5
1 /*
2 Copyright © 2000, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Probe installed CPUs and display relevant information
6 Lang: english
7 */
9 /****************************************************************************************************
10 Currently Supports:
12 i386 compatable families...
13 AMD 486/5x86/K5/K6/K6-II/K6-III/Athlon/Duron/Opteron/Athlon64
14 Intel P5/P54C/P55C/P24T/P6/P2/P3/PM/Itanium(IA-64)
15 Cyrix 5x86/M1/MediaGX/M2
16 UMC
17 NexGen Nx586
18 Centaur C6/C2/C3
19 Rise Technology mP6
20 SiS 55x
21 Transmeta Crusoe TM3x00 and TM5x00
22 National Semiconductor Geode
24 Soon....
26 PPC?
28 *****************************************************************************************************/
29 #ifndef _CPUINFO_INTERN_H
30 #define _CPUINFO_INTERN_H
32 #include <proto/exec.h>
33 #include <proto/dos.h>
34 #include <proto/timer.h>
36 #include <exec/types.h>
37 #include <exec/lists.h>
38 #include <exec/io.h>
39 #include <exec/memory.h>
41 #include <dos/dos.h>
43 #include <devices/timer.h>
45 #include <sys/time.h>
47 #include <stdio.h>
48 #include <stdlib.h>
49 #include <string.h>
50 #include <time.h>
52 #include <asm/io.h>
54 #include <hardware/cpu/cpu.h>
55 #include <hardware/cpu/cpu_i386.h>
57 /********************************************
58 Version Information
59 ********************************************/
61 #define APPNAME "CPUInfo"
62 #define VERSION 45
63 #define REVISION 30
64 #define VERSSTRING "45.30"
65 #define DATE "01.02.2004"
66 #define VERS APPNAME " " VERSSTRING
67 #define VSTRING APPNAME " "VERSSTRING" (" DATE ")\n\r"
68 #define VERSTAG "\0$VER: " APPNAME " "VERSSTRING" (" DATE ")\n"
70 /********************************************
71 Command Line Arguments
72 ********************************************/
74 #define ARG_TEMPLATE "V=VERBOSE/S"
76 enum
78 ARG_VERBOSE,
79 NOOFARGS
82 /********************************************
83 Stub Calls...
84 ********************************************/
86 BOOL isLastNode ( struct MinNode *CurrNode );
87 int AddBufferLine ( int buffpos, char *buffer, char *line );
88 void parse_i386 ( struct i386_compat_intern * CPUi386, ULONG CPU_ID );
90 #endif /* _CPUINFO_INTERN_H */