Changeset View
Changeset View
Standalone View
Standalone View
sys/powerpc/include/db_machdep.h
Show First 20 Lines • Show All 80 Lines • ▼ Show 20 Lines | |||||
#define inst_trap_return(ins) (((ins)&M_RFI) == I_RFI) | #define inst_trap_return(ins) (((ins)&M_RFI) == I_RFI) | ||||
#define inst_return(ins) (((ins)&M_RTS) == I_RTS) | #define inst_return(ins) (((ins)&M_RTS) == I_RTS) | ||||
#define inst_call(ins) (((ins)&M_BC ) == I_BC || \ | #define inst_call(ins) (((ins)&M_BC ) == I_BC || \ | ||||
((ins)&M_B ) == I_B ) | ((ins)&M_B ) == I_B ) | ||||
#define inst_load(ins) 0 | #define inst_load(ins) 0 | ||||
#define inst_store(ins) 0 | #define inst_store(ins) 0 | ||||
#ifdef __powerpc64__ | #ifdef __powerpc64__ | ||||
#define DB_STOFFS(offs) ((offs) & ~DMAP_BASE_ADDRESS) | //#define DB_STOFFS(offs) ((offs) & ~DMAP_BASE_ADDRESS) | ||||
bdragon: Need to *actually* remove this code in the final version. As well as probably cleaning up the… | |||||
#endif | #endif | ||||
#endif /* _POWERPC_DB_MACHDEP_H_ */ | #endif /* _POWERPC_DB_MACHDEP_H_ */ |
Need to *actually* remove this code in the final version. As well as probably cleaning up the hack in the rest of the kernel code, I am pretty sure that the only reason it existed was for ppc64.