revert between 56095 -> 55830 in arch
[AROS.git] / workbench / libs / nonvolatile / nvdisk / nvdisk_intern.h
blob6692c56671bd7d210bb56728a17eeaddf5c90bcb
1 #ifndef NVDISK_INTERN_H
2 #define NVDISK_INTERN_H
4 /*
5 Copyright © 1995-2006, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc:
9 Lang: English
13 #include <exec/libraries.h>
14 #include <exec/execbase.h>
15 #include <dos/dos.h>
17 // Private structure of nvdisk.library library base
18 struct NVDBase
20 struct Library nvd_Lib;
22 BPTR nvd_location;
23 BPTR nvd_SegList;
24 struct Library *nvd_DOSBase;
27 /* Locate library bases */
29 #define GPB(x) ((struct NVDBase *)x)
31 #define DOSBase (((struct NVDBase *)nvdBase)->nvd_DOSBase)
33 #endif /* NVDISK_INTERN_H */