/*
 * debug.h
 *
 * Copyright 2004, Minoru Murashima. All rights reserved.
 * Distributed under the terms of the BSD License.
 */


#ifndef ata_h
#define ata_h


#ifndef ASM_FILE


#ifdef DEBUG
 #define ASSERT(bool) if ((bool) == 0){printk("Assertion! : %s line=%d \n",__FILE__, __LINE__); idle();}
 #define WARNING(bool) if ((bool) == 0){printk("Warning! : %s line=%d \n",__FILE__, __LINE__);}
#else
 #define ASSERT(bool)
 #define WARNING(bool)
#endif

extern int debugFlag;
extern void saveSyscallEntry(uint);
extern void printSyscallEntry(uint);


#endif


#endif
