1 #ifndef NONVOLATILE_INTERN_H
2 #define NONVOLATILE_INTERN_H
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
13 #include <exec/libraries.h>
14 #include <libraries/nonvolatile.h>
17 // Private structure of nonvolatile.library library base
20 struct Library nv_Lib
;
21 struct ExecBase
*nv_SysBase
;
24 // Library talking to the hardware
25 struct Library
*nv_ImplementationLib
;
28 #define GM_SYSBASE_FIELD(lh) (((struct LibHeader *)lh)->lh_SysBase)
29 #define GM_SEGLIST_FIELD(lh) (((struct LibHeader *)lh)->lh_SegList)
31 /* Locate library bases */
33 #define nvdBase ((struct NVBase *)nvBase)->nv_ImplementationLib
35 #define GPB(x) ((struct NVBase *)x)
37 #endif /* NONVOLATILE_INTERN_H */