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

Side by Side Diff: src/trusted/validator_mips/ncvalidate.cc

Issue 11864002: Move CPU features into its own static library. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Address bsy's comments by not building x86 target when host isn't x86. This is how things are curre… Created 7 years, 11 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
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 #include "native_client/src/trusted/validator_mips/ncvalidate.h" 7 #include "native_client/src/trusted/validator_mips/ncvalidate.h"
8 8
9 #include <vector> 9 #include <vector>
10 10
11 #include "native_client/src/include/nacl_string.h" 11 #include "native_client/src/include/nacl_string.h"
12 #include "native_client/src/include/portability.h" 12 #include "native_client/src/include/portability.h"
13 #include "native_client/src/trusted/service_runtime/arch/mips/sel_ldr_mips.h" 13 #include "native_client/src/trusted/service_runtime/arch/mips/sel_ldr_mips.h"
14 #include "native_client/src/trusted/validator_mips/cpuid_mips.h" 14 #include "native_client/src/trusted/cpu_features/arch/mips/cpu_mips.h"
15 #include "native_client/src/trusted/validator_mips/model.h" 15 #include "native_client/src/trusted/validator_mips/model.h"
16 #include "native_client/src/trusted/validator_mips/validator.h" 16 #include "native_client/src/trusted/validator_mips/validator.h"
17 17
18 using nacl_mips_val::SfiValidator; 18 using nacl_mips_val::SfiValidator;
19 using nacl_mips_val::CodeSegment; 19 using nacl_mips_val::CodeSegment;
20 using nacl_mips_dec::Register; 20 using nacl_mips_dec::Register;
21 using nacl_mips_dec::RegisterList; 21 using nacl_mips_dec::RegisterList;
22 using nacl_mips_dec::kRegisterStack; 22 using nacl_mips_dec::kRegisterStack;
23 using nacl_mips_dec::kRegListReserved; 23 using nacl_mips_dec::kRegListReserved;
24 using std::vector; 24 using std::vector;
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 */ 182 */
183 int NaClCopyInstruction(uint8_t *dst, uint8_t *src, uint8_t sz) { 183 int NaClCopyInstruction(uint8_t *dst, uint8_t *src, uint8_t sz) {
184 UNREFERENCED_PARAMETER(dst); 184 UNREFERENCED_PARAMETER(dst);
185 UNREFERENCED_PARAMETER(src); 185 UNREFERENCED_PARAMETER(src);
186 UNREFERENCED_PARAMETER(sz); 186 UNREFERENCED_PARAMETER(sz);
187 187
188 return 0; 188 return 0;
189 } 189 }
190 190
191 EXTERN_C_END 191 EXTERN_C_END
OLDNEW
« no previous file with comments | « src/trusted/validator_mips/cpuid_mips_features.h ('k') | src/trusted/validator_mips/validator_mips.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698