Fixed binary search: no more infinite loops when vendor is unknown.
[tangerine.git] / compiler / include / aros / inquire.h
blob340529e1fbc2b41c887a8fa7fd19e31798076486
1 #ifndef AROS_INQUIRE_H
2 #define AROS_INQUIRE_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: aros.library ArosInquire
9 Lang: english
12 #include <utility/tagitem.h>
14 #define AI_Base (TAG_USER)
16 /* If you use any of these tags, the tag's ti_Data field should point to the
17 location where the result is stored. */
19 /* General tags */
20 #define AI_ArosVersion (AI_Base + 1)
21 /* ULONG: Major AROS version number, e.g. 41 */
23 #define AI_ArosReleaseMajor (AI_Base + 2)
24 /* ULONG: Major AROS release version, e.g. 1 */
26 #define AI_ArosReleaseMinor (AI_Base + 3)
27 /* ULONG: Minor AROS release version, e.g. 11 */
29 #define AI_ArosReleaseDate (AI_Base + 4)
30 /* LONG: Days since 1978-01-01 */
32 #define AI_ArosBuildDate (AI_Base + 5)
33 /* STRPTR */
35 #define AI_ArosVariant (AI_Base + 6)
36 /* STRPTR */
38 #define AI_ArosArchitecture (AI_Base + 7)
39 /* STRPTR */
41 /* Architecture specific tags */
43 /* Native Amiga */
44 #define AI_BaseA (AI_Base + 0x10000)
46 #define AI_KickstartBase (AI_BaseA + 1)
47 /* IPTR: Kickstart base address */
49 #define AI_KickstartSize (AI_BaseA + 2)
50 /* IPTR: Kickstart size */
52 #define AI_KickstartVersion (AI_BaseA + 3)
53 /* UWORD: Major Kickstart version */
55 #define AI_KickstartRevision (AI_BaseA + 4)
56 /* UWORD: Minor Kickstart revision */
59 /* Linux */
60 #define AI_BaseL (AI_Base + 0x20000)
64 #endif /* AROS_AROSSUPPORTBASE_H */