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

Side by Side Diff: src/trusted/service_runtime/arch/mips/tramp_mips.S

Issue 11016003: [MIPS] Use break instruction as NACL_HALT for MIPS. (Closed) Base URL: http://src.chromium.org/native_client/trunk/src/native_client/
Patch Set: Remove extra lines. Created 8 years, 2 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2012 The Native Client Authors. All rights reserved. 2 * Copyright 2012 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can 3 * Use of this source code is governed by a BSD-style license that can
4 * be found in the LICENSE file. 4 * be found in the LICENSE file.
5 */ 5 */
6 6
7 #include "native_client/src/trusted/service_runtime/nacl_config.h" 7 #include "native_client/src/trusted/service_runtime/nacl_config.h"
8 8
9 .text 9 .text
10 10
(...skipping 24 matching lines...) Expand all
35 /* 35 /*
36 * We don't actually load $t9 with zero, but we patch it with real address 36 * We don't actually load $t9 with zero, but we patch it with real address
37 * of NaClSyscallSeg during placement of trampoline code. 37 * of NaClSyscallSeg during placement of trampoline code.
38 */ 38 */
39 39
40 lui $t9, 0 40 lui $t9, 0
41 ori $t9, $t9, 0 41 ori $t9, $t9, 0
42 jalr $t5, $t9 42 jalr $t5, $t9
43 nop 43 nop
44 44
45 jr $0 /* NACL_HALT - at the start of the second block of the trampoline */ 45 NACL_HALT
46 .set reorder 46 .set reorder
47 47
48 DEFINE_GLOBAL_HIDDEN_IDENTIFIER(NaCl_trampoline_seg_end): 48 DEFINE_GLOBAL_HIDDEN_IDENTIFIER(NaCl_trampoline_seg_end):
49 49
OLDNEW
« no previous file with comments | « src/trusted/service_runtime/arch/mips/sel_ldr_mips.h ('k') | src/trusted/service_runtime/nacl_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698