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

Side by Side Diff: src/trusted/service_runtime/sel_rt.h

Issue 10919162: [MIPS] Implementation of sel_ldr for MIPS architecture. (Closed) Base URL: http://src.chromium.org/native_client/trunk/src/native_client/
Patch Set: Rebase (Saturday morning). 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
« no previous file with comments | « src/trusted/service_runtime/sel_ldr-inl.h ('k') | src/trusted/validator/cpufeatures.h » ('j') | 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 2009 The Native Client Authors. All rights reserved. 2 * Copyright 2009 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can 3 * Use of this source code is governed by a BSD-style license that can
4 * be found in the LICENSE file. 4 * be found in the LICENSE file.
5 */ 5 */
6 6
7 #ifndef NATIVE_CLIENT_SERVICE_RUNTIME_SEL_RT_H__ 7 #ifndef NATIVE_CLIENT_SERVICE_RUNTIME_SEL_RT_H__
8 #define NATIVE_CLIENT_SERVICE_RUNTIME_SEL_RT_H__ 1 8 #define NATIVE_CLIENT_SERVICE_RUNTIME_SEL_RT_H__ 1
9 9
10 #include "native_client/src/include/nacl_base.h" 10 #include "native_client/src/include/nacl_base.h"
11 11
12 #if NACL_ARCH(NACL_BUILD_ARCH) == NACL_x86 12 #if NACL_ARCH(NACL_BUILD_ARCH) == NACL_x86
13 #include "native_client/src/trusted/service_runtime/arch/x86/sel_rt.h" 13 #include "native_client/src/trusted/service_runtime/arch/x86/sel_rt.h"
14 #elif NACL_ARCH(NACL_BUILD_ARCH) == NACL_arm 14 #elif NACL_ARCH(NACL_BUILD_ARCH) == NACL_arm
15 #include "native_client/src/trusted/service_runtime/arch/arm/sel_rt.h" 15 #include "native_client/src/trusted/service_runtime/arch/arm/sel_rt.h"
16 #elif NACL_ARCH(NACL_BUILD_ARCH) == NACL_mips
17 #include "native_client/src/trusted/service_runtime/arch/mips/sel_rt.h"
16 #else 18 #else
17 #error Unknown platform! 19 #error Unknown platform!
18 #endif 20 #endif
19 21
20 EXTERN_C_BEGIN 22 EXTERN_C_BEGIN
21 23
22 struct NaClApp; 24 struct NaClApp;
23 struct NaClSignalContext; 25 struct NaClSignalContext;
24 26
25 void NaClInitGlobals(); 27 void NaClInitGlobals();
26 28
27 uintptr_t NaClGetThreadCtxSp(struct NaClThreadContext *th_ctx); 29 uintptr_t NaClGetThreadCtxSp(struct NaClThreadContext *th_ctx);
28 30
29 void NaClSetThreadCtxSp(struct NaClThreadContext *th_ctx, uintptr_t sp); 31 void NaClSetThreadCtxSp(struct NaClThreadContext *th_ctx, uintptr_t sp);
30 32
31 void NaClThreadContextToSignalContext(const struct NaClThreadContext *th_ctx, 33 void NaClThreadContextToSignalContext(const struct NaClThreadContext *th_ctx,
32 struct NaClSignalContext *sig_ctx); 34 struct NaClSignalContext *sig_ctx);
33 35
34 EXTERN_C_END 36 EXTERN_C_END
35 37
36 #endif /* NATIVE_CLIENT_SERVICE_RUNTIME_SEL_RT_H__ */ 38 #endif /* NATIVE_CLIENT_SERVICE_RUNTIME_SEL_RT_H__ */
OLDNEW
« no previous file with comments | « src/trusted/service_runtime/sel_ldr-inl.h ('k') | src/trusted/validator/cpufeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698