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

Side by Side Diff: src/trusted/service_runtime/arch/x86_32/sel_rt_32.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
« no previous file with comments | « src/trusted/service_runtime/arch/x86_32/nacl_switch_32.S ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 /* 22 */ 91 /* 22 */
92 uint16_t sys_fcw; 92 uint16_t sys_fcw;
93 /* 24 */ 93 /* 24 */
94 char dummy[2]; 94 char dummy[2];
95 /* 95 /*
96 * gs is our TLS base in the app; on the host side it's either fs or gs. 96 * gs is our TLS base in the app; on the host side it's either fs or gs.
97 */ 97 */
98 uint16_t ds, es, fs, gs; 98 uint16_t ds, es, fs, gs;
99 /* 28 2a 2c 2e */ 99 /* 28 2a 2c 2e */
100 /* 100 /*
101 * spring_addr, sys_ret and new_eip are not a part of the thread's 101 * spring_addr, sys_ret and new_prog_ctr are not a part of the
102 * register set, but are needed by NaClSwitch. By including them 102 * thread's register set, but are needed by NaClSwitch. By
103 * here, the two use the same interface. 103 * including them here, the two use the same interface.
104 */ 104 */
105 nacl_reg_t new_prog_ctr; 105 nacl_reg_t new_prog_ctr;
106 /* 30 */ 106 /* 30 */
107 nacl_reg_t sysret; 107 nacl_reg_t sysret;
108 /* 34 */ 108 /* 34 */
109 nacl_reg_t spring_addr; 109 nacl_reg_t spring_addr;
110 /* 38 */ 110 /* 38 */
111 uint16_t cs; /* spring_addr and cs must be adjacent */ 111 uint16_t cs; /* spring_addr and cs must be adjacent */
112 /* 3c */ 112 /* 3c */
113 }; 113 };
114 114
115 #endif /* __NATIVE_CLIENT_SERVICE_RUNTIME_ARCH_X86_32_SEL_RT_32_H__ */ 115 #endif /* __NATIVE_CLIENT_SERVICE_RUNTIME_ARCH_X86_32_SEL_RT_32_H__ */
OLDNEW
« no previous file with comments | « src/trusted/service_runtime/arch/x86_32/nacl_switch_32.S ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698