Otawa  0.10
prog_CodeItem.cpp File Reference
#include <otawa/prog/CodeItem.h>
#include <otawa/prog/Symbol.h>
#include <otawa/prog/Inst.h>

Namespaces

 otawa
 $Id$ Copyright (c) 2007, IRIT - UPS casse.nosp@m.@iri.nosp@m.t.fr
 

Macros

#define MAP_BITS   6
 
#define MAP_MASK   ((1 << MAP_BITS) - 1)
 
#define MAP_SIZE(s)   (((s) + MAP_MASK - 1) >> MAP_BITS)
 
#define MAP_INDEX(a)   (((a) - address()) >> MAP_BITS)
 

Macro Definition Documentation

#define MAP_BITS   6
#define MAP_INDEX (   a)    (((a) - address()) >> MAP_BITS)
#define MAP_MASK   ((1 << MAP_BITS) - 1)
#define MAP_SIZE (   s)    (((s) + MAP_MASK - 1) >> MAP_BITS)