added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / arch / .unmaintained / amiga / boot / boot.h
blob3c5d45394ae1dcf6ee5e4f9291e9fea175d9d3a7
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Amiga bootloader -- support structures
6 Lang: C
7 */
9 /********************************************************************
10 * Structures for InternalLoadSeg()
11 *******************************************************************/
12 struct ilsMemList
14 struct MinList iml_List;
15 ULONG iml_Num; /* total number of nodes on the list */
16 ULONG iml_NewNum; /* total number of new nodes since this was reset */
19 struct ilsMemNode
21 struct MinNode imn_Node;
22 APTR imn_Addr; /* address of memory region */
23 ULONG imn_Size; /* size of memory region */
26 /********************************************************************
27 * Structures for config options
28 *******************************************************************/
30 /* Anchor for all config options. */
31 struct BootConfig
33 struct List bc_Modules; /* will contain 'ModNode's */
34 ULONG bc_Num; /* number of nodes on this List */
37 /* One ModNode for every MODULE found in the config file. */
38 struct ModNode
40 struct Node mn_Node;
41 struct List mn_FuncList; /* will contain 'FuncNode's */
44 /* One FuncNode for every FUNCTION found in the config file. */
45 struct FuncNode
47 struct Node fn_Node;
48 UWORD fn_Slot; /* slot = function / -6 */
49 BOOL fn_Status; /* on or off */
52 /********************************************************************
53 * Structures for main() module handling and vector processing/loading
54 *******************************************************************/
55 struct ModuleList
57 struct MinList ml_List;
58 ULONG ml_Num;
61 struct Module
63 struct MinNode m_Node;
64 BPTR m_SegList; /* pointer to a module's seglist */
65 struct Resident *m_Resident; /* pointer to a module's Resident structure */