| 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 service run-time, non-platform specific system call helper routines. | 8 * NaCl service run-time, non-platform specific system call helper routines. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 | 280 |
| 281 int32_t NaClSysSemGetValue(struct NaClAppThread *natp, | 281 int32_t NaClSysSemGetValue(struct NaClAppThread *natp, |
| 282 int32_t sem_handle); | 282 int32_t sem_handle); |
| 283 | 283 |
| 284 int32_t NaClSysNanosleep(struct NaClAppThread *natp, | 284 int32_t NaClSysNanosleep(struct NaClAppThread *natp, |
| 285 struct nacl_abi_timespec *req, | 285 struct nacl_abi_timespec *req, |
| 286 struct nacl_abi_timespec *rem); | 286 struct nacl_abi_timespec *rem); |
| 287 | 287 |
| 288 int32_t NaClSysSchedYield(struct NaClAppThread *natp); | 288 int32_t NaClSysSchedYield(struct NaClAppThread *natp); |
| 289 | 289 |
| 290 int32_t NaClSysSysconf(struct NaClAppThread *natp, |
| 291 int32_t name, |
| 292 int32_t *result); |
| 293 |
| 290 int32_t NaClSysExceptionHandler(struct NaClAppThread *natp, | 294 int32_t NaClSysExceptionHandler(struct NaClAppThread *natp, |
| 291 uint32_t handler_addr, | 295 uint32_t handler_addr, |
| 292 uint32_t old_handler); | 296 uint32_t old_handler); |
| 293 | 297 |
| 294 int32_t NaClSysExceptionStack(struct NaClAppThread *natp, | 298 int32_t NaClSysExceptionStack(struct NaClAppThread *natp, |
| 295 uint32_t stack_addr, | 299 uint32_t stack_addr, |
| 296 uint32_t stack_size); | 300 uint32_t stack_size); |
| 297 | 301 |
| 298 int32_t NaClSysExceptionClearFlag(struct NaClAppThread *natp); | 302 int32_t NaClSysExceptionClearFlag(struct NaClAppThread *natp); |
| 299 | 303 |
| 300 int32_t NaClSysTestInfoLeak(struct NaClAppThread *natp); | 304 int32_t NaClSysTestInfoLeak(struct NaClAppThread *natp); |
| 301 | 305 |
| 302 int32_t NaClSysTestCrash(struct NaClAppThread *natp, int crash_type); | 306 int32_t NaClSysTestCrash(struct NaClAppThread *natp, int crash_type); |
| 303 | 307 |
| 304 EXTERN_C_END | 308 EXTERN_C_END |
| 305 | 309 |
| 306 #endif /* NATIVE_CLIENT_SERVICE_RUNTIME_NACL_SYSCALL_COMMON_H__ */ | 310 #endif /* NATIVE_CLIENT_SERVICE_RUNTIME_NACL_SYSCALL_COMMON_H__ */ |
| OLD | NEW |