Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 580 → Rev 581

/kernel/trunk/generic/include/debug.h
30,8 → 30,21
#define __DEBUG_H__
 
#include <panic.h>
#include <arch/debug.h>
#include <arch.h>
 
#ifndef CALLER
/** Default (returns 0) macro for getting address of calling function
* @param x First argument of the called function
*/
# define CALLER(x) ((__address *) 0)
#endif
 
#ifndef HERE
/** Current Instruction Pointer address */
# define HERE ((__address *)0)
#endif
 
/** Debugging ASSERT macro
*
* If CONFIG_DEBUG is set, the ASSERT() macro