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

Side by Side Diff: src/trusted/service_runtime/arch/arm/sel_rt.h

Issue 10806080: ARM: Rename the "new_eip" field in NaClThreadContext to "new_prog_ctr" (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Rebase + copyright Created 8 years, 4 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (c) 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 be 3 * Use of this source code is governed by a BSD-style license that can be
4 * 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 10
(...skipping 15 matching lines...) Expand all
26 26
27 /* 27 /*
28 * NOTE: This struct needs to be synchronized with 28 * NOTE: This struct needs to be synchronized with
29 * synchronized with NACL_CALLEE_SAVE_LIST 29 * synchronized with NACL_CALLEE_SAVE_LIST
30 */ 30 */
31 31
32 struct NaClThreadContext { 32 struct NaClThreadContext {
33 nacl_reg_t r4, r5, r6, r7, r8, r9, r10, fp, stack_ptr, prog_ctr; 33 nacl_reg_t r4, r5, r6, r7, r8, r9, r10, fp, stack_ptr, prog_ctr;
34 /* 0 4 8 c 10 14 18 1c 20 24 */ 34 /* 0 4 8 c 10 14 18 1c 20 24 */
35 /* 35 /*
36 * sys_ret and new_eip are not a part of the thread's register set, 36 * sys_ret and new_prog_ctr are not a part of the thread's register
37 * but are needed by NaClSwitch. By including them here, the two 37 * set, but are needed by NaClSwitch. By including them here, the
38 * use the same interface. 38 * two use the same interface.
39 */ 39 */
40 uint32_t sysret; 40 uint32_t sysret;
41 /* 28 */ 41 /* 28 */
42 uint32_t new_eip; 42 uint32_t new_prog_ctr;
43 /* 2c */ 43 /* 2c */
44 uint32_t tls_idx; 44 uint32_t tls_idx;
45 /* 30 */ 45 /* 30 */
46 }; 46 };
47 47
48 #endif /* __NATIVE_CLIENT_SERVICE_RUNTIME_ARCH_ARM_SEL_RT_H___ */ 48 #endif /* __NATIVE_CLIENT_SERVICE_RUNTIME_ARCH_ARM_SEL_RT_H___ */
OLDNEW
« no previous file with comments | « src/trusted/service_runtime/arch/arm/nacl_switch_to_app_arm.c ('k') | src/trusted/service_runtime/arch/arm/sel_rt.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698