Changeset View
Changeset View
Standalone View
Standalone View
head/sys/mips/include/asm.h
Show First 20 Lines • Show All 694 Lines • ▼ Show 20 Lines | |||||
* For Programmers Volume III: The MIPS32 Privileged Resource Architecture" | * For Programmers Volume III: The MIPS32 Privileged Resource Architecture" | ||||
*/ | */ | ||||
#if defined(CPU_NLM) | #if defined(CPU_NLM) | ||||
#define HAZARD_DELAY sll $0,3 | #define HAZARD_DELAY sll $0,3 | ||||
#define ITLBNOPFIX sll $0,3 | #define ITLBNOPFIX sll $0,3 | ||||
#elif defined(CPU_RMI) | #elif defined(CPU_RMI) | ||||
#define HAZARD_DELAY | #define HAZARD_DELAY | ||||
#define ITLBNOPFIX | #define ITLBNOPFIX | ||||
#elif defined(CPU_MIPS74KC) | #elif defined(CPU_MIPS74K) | ||||
#define HAZARD_DELAY sll $0,$0,3 | #define HAZARD_DELAY sll $0,$0,3 | ||||
#define ITLBNOPFIX sll $0,$0,3 | #define ITLBNOPFIX sll $0,$0,3 | ||||
#else | #else | ||||
#define ITLBNOPFIX nop;nop;nop;nop;nop;nop;nop;nop;nop;sll $0,$0,3; | #define ITLBNOPFIX nop;nop;nop;nop;nop;nop;nop;nop;nop;sll $0,$0,3; | ||||
#define HAZARD_DELAY nop;nop;nop;nop;sll $0,$0,3; | #define HAZARD_DELAY nop;nop;nop;nop;sll $0,$0,3; | ||||
#endif | #endif | ||||
#endif /* !_MACHINE_ASM_H_ */ | #endif /* !_MACHINE_ASM_H_ */ |