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

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

Issue 10919217: ARM: Remove prototype of non-existent NaClGetThreadCombinedDescriptor() (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Tidy more Created 8 years, 3 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 | « no previous file | 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 #ifndef SERVICE_RUNTIME_ARCH_ARM_SEL_LDR_H__ 7 #ifndef SERVICE_RUNTIME_ARCH_ARM_SEL_LDR_H__
8 #define SERVICE_RUNTIME_ARCH_ARM_SEL_LDR_H__ 1 8 #define SERVICE_RUNTIME_ARCH_ARM_SEL_LDR_H__ 1
9 9
10 #include "native_client/src/include/portability.h" 10 #include "native_client/src/include/portability.h"
(...skipping 11 matching lines...) Expand all
22 #define NACL_NOOP_OPCODE 0x46c0 /* mov r8, r8 */ 22 #define NACL_NOOP_OPCODE 0x46c0 /* mov r8, r8 */
23 #define NACL_HALT_OPCODE 0xbe00 /* bkpt 0x0000 */ 23 #define NACL_HALT_OPCODE 0xbe00 /* bkpt 0x0000 */
24 #define NACL_HALT_LEN 2 /* length of halt instruction */ 24 #define NACL_HALT_LEN 2 /* length of halt instruction */
25 #else 25 #else
26 #define NACL_NOOP_OPCODE 0xe1a00000 /* mov r0, r0 */ 26 #define NACL_NOOP_OPCODE 0xe1a00000 /* mov r0, r0 */
27 #define NACL_HALT_OPCODE 0xe1266676 /* bkpt 6666 */ 27 #define NACL_HALT_OPCODE 0xe1266676 /* bkpt 6666 */
28 #define NACL_HALT_LEN 4 /* length of halt instruction */ 28 #define NACL_HALT_LEN 4 /* length of halt instruction */
29 #endif /* defined(NACL_TARGET_ARM_THUMB2_MODE) */ 29 #endif /* defined(NACL_TARGET_ARM_THUMB2_MODE) */
30 #define NACL_HALT_WORD NACL_HALT_OPCODE 30 #define NACL_HALT_WORD NACL_HALT_OPCODE
31 31
32 struct NaClApp;
33 struct NaClThreadContext;
34
35 uint32_t NaClGetThreadCombinedDescriptor(struct NaClThreadContext *user);
36
37 void NaClSetThreadCombinedDescriptor(struct NaClThreadContext *user,
38 uint32_t tls_idx);
39
40 #endif /* SERVICE_RUNTIME_ARCH_ARM_SEL_LDR_H__ */ 32 #endif /* SERVICE_RUNTIME_ARCH_ARM_SEL_LDR_H__ */
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698