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

Side by Side Diff: src/trusted/service_runtime/arch/mips/sel_rt.c

Issue 11368024: [MIPS] Restore the trusted stack in NaClSyscallSeg. (Closed) Base URL: http://git.chromium.org/native_client/src/native_client.git@master
Patch Set: Update Copyright headers. Remote presubmit complained about it. Created 8 years, 1 month 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 (c) 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 be
4 * be found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 /* 7 /*
8 * NaCl Secure Runtime 8 * NaCl Secure Runtime
9 */ 9 */
10 #include "native_client/src/include/portability_string.h" 10 #include "native_client/src/include/portability_string.h"
11 #include "native_client/src/trusted/service_runtime/nacl_signal.h" 11 #include "native_client/src/trusted/service_runtime/nacl_signal.h"
12 #include "native_client/src/trusted/service_runtime/sel_ldr.h" 12 #include "native_client/src/trusted/service_runtime/sel_ldr.h"
13 #include "native_client/src/trusted/service_runtime/sel_rt.h" 13 #include "native_client/src/trusted/service_runtime/sel_rt.h"
14 #include "native_client/src/trusted/service_runtime/arch/mips/sel_ldr_mips.h" 14 #include "native_client/src/trusted/service_runtime/arch/mips/sel_ldr_mips.h"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 sig_ctx->s2 = th_ctx->s2; 83 sig_ctx->s2 = th_ctx->s2;
84 sig_ctx->s3 = th_ctx->s3; 84 sig_ctx->s3 = th_ctx->s3;
85 sig_ctx->s4 = th_ctx->s4; 85 sig_ctx->s4 = th_ctx->s4;
86 sig_ctx->s5 = th_ctx->s5; 86 sig_ctx->s5 = th_ctx->s5;
87 sig_ctx->s6 = th_ctx->s6; 87 sig_ctx->s6 = th_ctx->s6;
88 sig_ctx->s7 = th_ctx->s7; 88 sig_ctx->s7 = th_ctx->s7;
89 sig_ctx->t8 = th_ctx->t8; 89 sig_ctx->t8 = th_ctx->t8;
90 sig_ctx->t9 = 0; 90 sig_ctx->t9 = 0;
91 sig_ctx->k0 = 0; 91 sig_ctx->k0 = 0;
92 sig_ctx->k1 = 0; 92 sig_ctx->k1 = 0;
93 sig_ctx->global_ptr = th_ctx->global_ptr; 93 sig_ctx->global_ptr = 0;
94 sig_ctx->stack_ptr = th_ctx->stack_ptr; 94 sig_ctx->stack_ptr = th_ctx->stack_ptr;
95 sig_ctx->frame_ptr = th_ctx->frame_ptr; 95 sig_ctx->frame_ptr = th_ctx->frame_ptr;
96 sig_ctx->return_addr = th_ctx->prog_ctr; 96 sig_ctx->return_addr = th_ctx->prog_ctr;
97 } 97 }
OLDNEW
« no previous file with comments | « src/trusted/service_runtime/arch/mips/sel_rt.h ('k') | src/trusted/service_runtime/linux/mips/sel_segments.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698