Fixed out-by-one error in previous commit.
[AROS.git] / workbench / c / CPUInfo / cpuinfo.h
blobd23c04393dee5945cea82a91a1215d1b3743f949
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>
35 #include <proto/cpu.h>
37 #include <exec/types.h>
38 #include <exec/lists.h>
39 #include <exec/io.h>
40 #include <exec/memory.h>
42 #include <dos/dos.h>
44 #include <devices/timer.h>
46 #include <sys/time.h>
48 #include <stdio.h>
49 #include <stdlib.h>
50 #include <string.h>
51 #include <time.h>
53 #include <asm/io.h>
55 #include <hardware/cpu/cpu.h>
56 #include <hardware/cpu/cpu_i386.h>
58 /********************************************
59 Version Information
60 ********************************************/
62 #define APPNAME "CPUInfo"
63 #define VERSION 45
64 #define REVISION 30
65 #define VERSSTRING "45.30"
66 #define DATE "01.02.2004"
67 #define VERS APPNAME " " VERSSTRING
68 #define VSTRING APPNAME " "VERSSTRING" (" DATE ")\n\r"
69 #define VERSTAG "\0$VER: " APPNAME " "VERSSTRING" (" DATE ")\n"
71 /********************************************
72 Command Line Arguments
73 ********************************************/
75 #define ARG_TEMPLATE "V=VERBOSE/S"
77 enum
79 ARG_VERBOSE,
80 NOOFARGS
83 /********************************************
84 Stub Calls...
85 ********************************************/
87 BOOL isLastNode ( struct MinNode *CurrNode );
88 int AddBufferLine ( int buffpos, char *buffer, char *line );
89 void parse_i386 ( struct i386_compat_intern * CPUi386, ULONG CPU_ID );
91 #endif /* _CPUINFO_INTERN_H */