Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(756)

Unified Diff: src/trusted/service_runtime/arch/mips/sel_ldr_mips.h

Issue 10978045: [MIPS] Use break instruction as NACL_HALT for MIPS. (Closed)
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/trusted/service_runtime/arch/mips/sel_ldr_mips.h
diff --git a/src/trusted/service_runtime/arch/mips/sel_ldr_mips.h b/src/trusted/service_runtime/arch/mips/sel_ldr_mips.h
index 9161f0c02e871c6dd059f2c0037b69ce3474b0c2..d54824d9f134fb1e5e4d18a83ad3d802c771be8f 100644
--- a/src/trusted/service_runtime/arch/mips/sel_ldr_mips.h
+++ b/src/trusted/service_runtime/arch/mips/sel_ldr_mips.h
@@ -21,7 +21,7 @@
#define NACL_THREAD_MAX 8192
#define NACL_NOOP_OPCODE 0x00000000 /* nop */
-#define NACL_HALT_OPCODE 0x00000008 /* jr $0 */
+#define NACL_HALT_OPCODE 0x0000000D /* break */
#define NACL_HALT_LEN 4 /* length of halt instruction */
#define NACL_HALT_WORD NACL_HALT_OPCODE

Powered by Google App Engine
This is Rietveld 408576698