Changeset a3ac9a7 in mainline for generic/include/debug.h


Ignore:
Timestamp:
2005-12-10T12:12:09Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6e716a59
Parents:
208189f
Message:

Small debug changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/include/debug.h

    r208189f ra3ac9a7  
    3131
    3232#include <panic.h>
     33#include <arch/debug.h>
     34#include <arch.h>
    3335
     36#ifndef CALLER
     37/**  Default (returns 0) macro for getting address of calling function
     38 *   @param x First argument of the called function
     39 */
     40#  define CALLER(x)       ((__address *) 0)
     41#endif
     42
     43#ifndef HERE
     44/** Current Instruction Pointer address */
     45#  define HERE ((__address *)0)
     46#endif
    3447
    3548/** Debugging ASSERT macro
Note: See TracChangeset for help on using the changeset viewer.