summaryrefslogtreecommitdiffstats
path: root/sys/mips/mips/swtch.S
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2010-07-16 06:35:17 +0000
committerimp <imp@FreeBSD.org>2010-07-16 06:35:17 +0000
commit4b1b0132725cfd6fe5550c506752c4786797f311 (patch)
tree7ef6ab1a91752afeb46798fd1c1c844991c5d6b4 /sys/mips/mips/swtch.S
parentf3d5713b334ea631ba01ec252b39a84a6cfd2316 (diff)
downloadFreeBSD-src-4b1b0132725cfd6fe5550c506752c4786797f311.zip
FreeBSD-src-4b1b0132725cfd6fe5550c506752c4786797f311.tar.gz
Move common macros into asm.h. Replace MIPS_CPU_NOP_DELAY with
HAZARD_DELAY. Move HAZARD_DELAY and ITLBNOPFIX into asm.h, for possible later optimization... Reviewed by: jmallet, jchandra
Diffstat (limited to 'sys/mips/mips/swtch.S')
-rw-r--r--sys/mips/mips/swtch.S13
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/mips/mips/swtch.S b/sys/mips/mips/swtch.S
index b83b8b8..b6412db 100644
--- a/sys/mips/mips/swtch.S
+++ b/sys/mips/mips/swtch.S
@@ -67,17 +67,6 @@
.set noreorder # Noreorder is default style!
-/*
- * FREEBSD_DEVELOPERS_FIXME
- * Some MIPS CPU may need delays using nops between executing CP0 Instructions
- */
-
-#if 1
-#define HAZARD_DELAY nop ; nop ; nop ; nop
-#else
-#define HAZARD_DELAY
-#endif
-
#define SAVE_U_PCB_REG(reg, offs, base) \
REG_S reg, U_PCB_REGS + (SZREG * offs) (base)
@@ -102,8 +91,6 @@
#define RESTORE_U_PCB_CONTEXT(reg, offs, base) \
REG_L reg, U_PCB_CONTEXT + (SZREG * offs) (base)
-#define ITLBNOPFIX nop;nop;nop;nop;nop;nop;nop;nop;nop;nop;
-
/*
* Setup for and return to user.
*/
OpenPOWER on IntegriCloud