| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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__ */ |
| OLD | NEW |