- HD_SCSICMD: assume there is no sense-data buffer if no AUTOSENSE
[AROS.git] / compiler / arossupport / include / purify.h
blob810cd5e8be8c34f3a9f282c982cee19b57adaf12
1 #ifndef AROS_PURIFY_H
2 #define AROS_PURIFY_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Purify - a tool to check memory accesses
9 */
11 #ifndef ENABLE_PURIFY
12 # define ENABLE_PURIFY 0
13 #endif
15 #define PMS_FREE 0
16 #define PMS_EMPTY 1
17 #define PMS_INITIALIZED 2
18 #define PMS_READONLY 3
20 #define PMA_READ 0
21 #define PMA_WRITE 1
22 #define PMA_MODIFY 2 /* READ+WRITE */
24 void Purify_Init (void);
25 void Purify_AddMemory (APTR memPtr, ULONG size);
26 void Purify_SetState (APTR memPtr, ULONG size, ULONG state);
27 void Purify_CheckAccess (APTR memPtr, ULONG size, ULONG type);
29 #endif /* AROS_PURIFY_H */