#ifndef LIBRARIES_EXPANSIONBASE_H
#define LIBRARIES_EXPANSIONBASE_H
/*
** $Filename: libraries/expansionbase.h $
** $Release: 2.04 Includes, V37.4 $
** $Revision: 36.15 $
** $Date: 91/10/21 $
**
** Definitions for the expansion library base
**
** (C) Copyright 1987-1991 Commodore-Amiga, Inc.
** All Rights Reserved
*/

#ifndef EXEC_TYPES_H
#include "exec/types.h"
#endif 

#ifndef EXEC_LIBRARIES_H
#include "exec/libraries.h"
#endif 

#ifndef EXEC_SEMAPHORES_H
#include "exec/semaphores.h"
#endif 

#ifndef LIBRARIES_CONFIGVARS_H
#include "libraries/configvars.h"
#endif 



struct BootNode
{
 struct Node bn_Node;
 UWORD bn_Flags;
 APTR bn_DeviceNode;
};



struct ExpansionBase
{
 struct Library LibNode;
 UBYTE Flags; 
 UBYTE eb_Private01; 
 ULONG eb_Private02; 
 ULONG eb_Private03; 
 struct CurrentBinding eb_Private04; 
 struct List eb_Private05; 
 struct List MountList; 
 
};


#define EE_OK 0
#define EE_LASTBOARD 40 
#define EE_NOEXPANSION 41 
#define EE_NOMEMORY 42 
#define EE_NOBOARD 43 
#define EE_BADMEM 44 


#define EBB_CLOGGED 0 
#define EBF_CLOGGED (1<<0)
#define EBB_SHORTMEM 1 
#define EBF_SHORTMEM (1<<1)
#define EBB_BADMEM 2 
#define EBF_BADMEM (1<<2)
#define EBB_DOSFLAG 3 
#define EBF_DOSFLAG (1<<3)
#define EBB_KICKBACK33 4 
#define EBF_KICKBACK33 (1<<4)
#define EBB_KICKBACK36 5 
#define EBF_KICKBACK36 (1<<5)

#define EBB_SILENTSTART 6
#define EBF_SILENTSTART (1<<6)


#define EBB_START_CC0 7
#define EBF_START_CC0 (1<<7)


#endif 
