Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / libs / identify / identify_intern.h
blob795df5205528ffe6147f819ba2cbae7757ce2bb4
1 #ifndef IDENDIFY_INTERN_H
2 #define IDENDIFY_INTERN_H
4 /*
5 * Copyright (c) 2010-2011 Matthias Rustler
7 * Permission is hereby granted, free of charge, to any person obtaining a
8 * copy of this software and associated documentation files (the "Software"),
9 * to deal in the Software without restriction, including without limitation
10 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
11 * and/or sell copies of the Software, and to permit persons to whom the
12 * Software is furnished to do so, subject to the following conditions:
14 * The above copyright notice and this permission notice shall be included
15 * in all copies or substantial portions of the Software.
17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
18 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
23 * IN THE SOFTWARE.
25 * $Id$
28 #include <exec/types.h>
29 #include <exec/libraries.h>
31 #include <proto/exec.h>
33 #define STRBUFSIZE (30)
35 struct FuncNode
37 struct Node nd;
38 ULONG offset;
41 struct LibNode
43 struct Node nd;
44 struct List funcList;
47 struct HardwareBuffer
49 TEXT buf_OsVer[STRBUFSIZE];
50 TEXT buf_ExecVer[STRBUFSIZE];
51 TEXT buf_WbVer[STRBUFSIZE];
52 TEXT buf_RomSize[STRBUFSIZE];
53 TEXT buf_ChipRAM[STRBUFSIZE];
54 TEXT buf_FastRAM[STRBUFSIZE];
55 TEXT buf_RAM[STRBUFSIZE];
56 TEXT buf_SetPatchVer[STRBUFSIZE];
57 TEXT buf_VMChipRAM[STRBUFSIZE];
58 TEXT buf_VMFastRAM[STRBUFSIZE];
59 TEXT buf_VMRAM[STRBUFSIZE];
60 TEXT buf_PlainChipRAM[STRBUFSIZE];
61 TEXT buf_PlainFastRAM[STRBUFSIZE];
62 TEXT buf_PlainRAM[STRBUFSIZE];
63 TEXT buf_VBR[STRBUFSIZE]; // not cached
64 TEXT buf_LastAlert[STRBUFSIZE]; // not cached
65 TEXT buf_VBlankFreq[STRBUFSIZE];
66 TEXT buf_PowerFreq[STRBUFSIZE];
67 TEXT buf_EClock[STRBUFSIZE];
68 TEXT buf_SlowRAM[STRBUFSIZE];
69 TEXT buf_PPCClock[STRBUFSIZE];
70 TEXT buf_CPURev[STRBUFSIZE];
71 TEXT buf_CPUClock[STRBUFSIZE];
72 TEXT buf_FPUClock[STRBUFSIZE];
73 TEXT buf_RAMAccess[STRBUFSIZE];
74 TEXT buf_RAMWidth[STRBUFSIZE];
75 TEXT buf_RAMBandwidth[STRBUFSIZE];
76 TEXT buf_DeniseRev[STRBUFSIZE];
77 TEXT buf_BoingBag[STRBUFSIZE];
78 TEXT buf_XLVersion[STRBUFSIZE];
79 TEXT buf_HostOS[STRBUFSIZE];
80 TEXT buf_HostVers[STRBUFSIZE];
81 TEXT buf_HostMachine[STRBUFSIZE];
82 TEXT buf_HostCPU[STRBUFSIZE];
83 TEXT buf_HostSpeed[STRBUFSIZE];
86 struct IdentifyBaseIntern
88 struct Library base;
90 struct SignalSemaphore sem;
91 APTR poolMem;
92 BOOL dirtyflag;
93 struct HardwareBuffer hwb;
94 struct List libList;
97 #endif