| OLD | NEW |
| 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 Loading... |
| 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___ */ |
| OLD | NEW |