Added a test for MUIA_Listview_SelectChange.
[AROS.git] / compiler / include / libraries / expansionbase.h
blob398c69fc988f4a20b723d6ab1d4099885cef577c
1 #ifndef LIBRARIES_EXPANSIONBASE_H
2 #define LIBRARIES_EXPANSIONBASE_H
4 /*
5 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Publicly visible ExpansionBase data.
9 Lang: english
12 #ifndef EXEC_TYPES_H
13 #include <exec/types.h>
14 #endif
16 #ifndef EXEC_LIBRARIES_H
17 #include <exec/libraries.h>
18 #endif
20 #ifndef EXEC_LISTS_H
21 #include <exec/lists.h>
22 #endif
24 #ifndef LIBRARIES_CONVIGVARS_H
25 #include <libraries/configvars.h>
26 #endif
29 BootNodes are used by dos.library to determine which device to boot
30 from. Items found on the list are added to DOS's list of available
31 devices before the system boot, and the highest priority node will
32 be used to attempt to boot. You add BootNodes with the expansion
33 AddBootNode() call.
35 If you use the AddDosNode() call, you will have to create and add
36 your own BootNode. It is preferred to use AddBootNode().
39 struct BootNode
41 struct Node bn_Node;
42 UWORD bn_Flags;
43 APTR bn_DeviceNode;
47 Most of this data is private, but you can use the expansion.library
48 functions to scan the information.
50 Use FindConfigDev() to scan the board list.
53 struct ExpansionBase
55 struct Library LibNode;
56 UBYTE Flags; /* Flags, read only */
57 UBYTE eb_Private01;
58 IPTR eb_Private02;
59 IPTR eb_Private03;
60 struct CurrentBinding eb_Private04;
61 struct List BoardList; /* BoardList - private */
62 struct List MountList; /* BootNode entries - public */
65 /* The error codes from expansion boards */
66 #define EE_OK 0 /* no error */
67 #define EE_LASTBOARD 40 /* board could not be shut up */
68 #define EE_NOEXPANSION 41 /* no space expansion slots, board shut up */
69 #define EE_NOMEMORY 42 /* no normal memory */
70 #define EE_NOBOARD 43 /* no board at that address */
71 #define EE_BADMEM 44 /* tried to add a bad memory card */
73 /* ExpansionBase flags, READ ONLY !! */
75 #define EBB_CLOGGED 0 /* a board could not be shut up */
76 #define EBF_CLOGGED (1L<<0)
77 #define EBB_SHORTMEM 1 /* ran out of expansion memory */
78 #define EBF_SHORTMEM (1L<<1)
79 #define EBB_BADMEM 2 /* tried to add bad memory card */
80 #define EBF_BADMEM (1L<<2)
81 #define EBB_DOSFLAG 3 /* reserved by AmigaDOS */
82 #define EBF_DOSFLAG (1L<<3)
83 #define EBB_KICKBACK33 4 /* reserved by AmigaDOS */
84 #define EBF_KICKBACK33 (1L<<4)
85 #define EBB_KICKBACK36 5 /* reserved by AmigaDOS */
86 #define EBF_KICKBACK36 (1L<<5)
88 /* If the following flag is set by a floppy's boot code, then when DOS
89 awakes, it will not open its initial console window until the first
90 output is written to that shell. Otherwise the old behaviour will
91 apply.
93 #define EBB_SILENTSTART 6
94 #define EBF_SILENTSTART (1L<<6)
96 #define EBB_START_CC0 7 /* allow/try boot from CC0 */
97 #define EBF_START_CC0 (1L<<7)
99 #endif /* LIBRARIES_EXPANSIONBASE_H */