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

Side by Side Diff: src/trusted/validator/x86/ncval_reg_sfi/ncvalidate_iter.h

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 #ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_REG_SFI_NCVALIDATE_ITER_H_ _ 7 #ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_REG_SFI_NCVALIDATE_ITER_H_ _
8 #define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_REG_SFI_NCVALIDATE_ITER_H_ _ 8 #define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_REG_SFI_NCVALIDATE_ITER_H_ _
9 9
10 /* 10 /*
(...skipping 20 matching lines...) Expand all
31 * if (!NaClValidatesOk(state)) fail; 31 * if (!NaClValidatesOk(state)) fail;
32 * NaClValidatorStateDestroy(state); 32 * NaClValidatorStateDestroy(state);
33 */ 33 */
34 34
35 #include "native_client/src/include/portability.h" 35 #include "native_client/src/include/portability.h"
36 #include "native_client/src/shared/utils/types.h" 36 #include "native_client/src/shared/utils/types.h"
37 #include "native_client/src/trusted/validator/ncvalidate.h" 37 #include "native_client/src/trusted/validator/ncvalidate.h"
38 #include "native_client/src/trusted/validator/types_memory_model.h" 38 #include "native_client/src/trusted/validator/types_memory_model.h"
39 #include "native_client/src/trusted/validator/x86/decoder/gen/ncopcode_operand_k ind.h" 39 #include "native_client/src/trusted/validator/x86/decoder/gen/ncopcode_operand_k ind.h"
40 #include "native_client/src/trusted/validator/x86/error_reporter.h" 40 #include "native_client/src/trusted/validator/x86/error_reporter.h"
41 #include "native_client/src/trusted/validator/x86/nacl_cpuid.h" 41 #include "native_client/src/trusted/cpu_features/arch/x86/cpu_x86.h"
42 42
43 EXTERN_C_BEGIN 43 EXTERN_C_BEGIN
44 44
45 struct NaClDecodeTables; 45 struct NaClDecodeTables;
46 struct NaClInstIter; 46 struct NaClInstIter;
47 struct NaClInstState; 47 struct NaClInstState;
48 struct NaClValidatorState; 48 struct NaClValidatorState;
49 49
50 /* Control flag that when set to FALSE, turns of the printing of validator 50 /* Control flag that when set to FALSE, turns of the printing of validator
51 * messages. 51 * messages.
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 398
399 /* Prints out the address of the current instruction, and the pre/post 399 /* Prints out the address of the current instruction, and the pre/post
400 * conditions associated with the current instruction. 400 * conditions associated with the current instruction.
401 */ 401 */
402 void NaClPrintConditions(NaClValidatorState *state); 402 void NaClPrintConditions(NaClValidatorState *state);
403 #endif 403 #endif
404 404
405 EXTERN_C_END 405 EXTERN_C_END
406 406
407 #endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_REG_SFI_NCVALIDATE_ITER _H__ */ 407 #endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_REG_SFI_NCVALIDATE_ITER _H__ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698