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

Side by Side Diff: src/trusted/validator/cpufeatures.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_rt.h ('k') | src/trusted/validator/ncvalidate.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 (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 NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_CPUID_ARCH_H 7 #ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_CPUID_ARCH_H
8 #define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_CPUID_ARCH_H 8 #define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_CPUID_ARCH_H
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_TARGET_ARCH) == NACL_x86 12 #if NACL_ARCH(NACL_TARGET_ARCH) == NACL_x86
13 13
14 #include "native_client/src/trusted/validator/x86/nacl_cpuid.h" 14 #include "native_client/src/trusted/validator/x86/nacl_cpuid.h"
15 typedef NaClCPUFeaturesX86 NaClCPUFeatures; 15 typedef NaClCPUFeaturesX86 NaClCPUFeatures;
16 16
17 #elif NACL_ARCH(NACL_BUILD_ARCH) == NACL_arm 17 #elif NACL_ARCH(NACL_BUILD_ARCH) == NACL_arm
18 18
19 #include "native_client/src/trusted/validator_arm/cpuid_arm.h" 19 #include "native_client/src/trusted/validator_arm/cpuid_arm.h"
20 typedef NaClCPUFeaturesArm NaClCPUFeatures; 20 typedef NaClCPUFeaturesArm NaClCPUFeatures;
21 21
22 #elif NACL_ARCH(NACL_BUILD_ARCH) == NACL_mips
23
24 #include "native_client/src/trusted/validator_mips/cpuid_mips.h"
25 typedef NaClCPUFeaturesMips NaClCPUFeatures;
26
22 #else 27 #else
23 28
24 #error Unknown platform! 29 #error Unknown platform!
25 30
26 #endif 31 #endif
27 32
28 33
29 #endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_CPUID_ARCH_H */ 34 #endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_CPUID_ARCH_H */
OLDNEW
« no previous file with comments | « src/trusted/service_runtime/sel_rt.h ('k') | src/trusted/validator/ncvalidate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698