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/validator/x86/ncval_reg_sfi/ncvalidate_iter_internal.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_IN TERNAL_H__ 7 #ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_REG_SFI_NCVALIDATE_ITER_IN TERNAL_H__
8 #define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_REG_SFI_NCVALIDATE_ITER_IN TERNAL_H__ 8 #define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_REG_SFI_NCVALIDATE_ITER_IN TERNAL_H__
9 9
10 /* Defines the internal data structure for the validator state. */ 10 /* Defines the internal data structure for the validator state. */
11 11
12 #include "native_client/src/shared/utils/types.h" 12 #include "native_client/src/shared/utils/types.h"
13 #include "native_client/src/trusted/validator/x86/nacl_cpuid.h" 13 #include "native_client/src/trusted/cpu_features/arch/x86/cpu_x86.h"
14 #include "native_client/src/trusted/validator/x86/ncval_reg_sfi/nc_cpu_checks.h" 14 #include "native_client/src/trusted/validator/x86/ncval_reg_sfi/nc_cpu_checks.h"
15 #include "native_client/src/trusted/validator/x86/ncval_reg_sfi/nc_jumps.h" 15 #include "native_client/src/trusted/validator/x86/ncval_reg_sfi/nc_jumps.h"
16 #include "native_client/src/trusted/validator/x86/ncval_reg_sfi/nc_opcode_histog ram.h" 16 #include "native_client/src/trusted/validator/x86/ncval_reg_sfi/nc_opcode_histog ram.h"
17 #include "native_client/src/trusted/validator/x86/ncval_reg_sfi/nc_protect_base. h" 17 #include "native_client/src/trusted/validator/x86/ncval_reg_sfi/nc_protect_base. h"
18 18
19 struct NaClDecodeTables; 19 struct NaClDecodeTables;
20 struct NaClExpVector; 20 struct NaClExpVector;
21 struct NaClInst; 21 struct NaClInst;
22 struct NaClInstIter; 22 struct NaClInstIter;
23 struct NaClInstState; 23 struct NaClInstState;
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 NaClOpcodeHistogram opcode_histogram; 124 NaClOpcodeHistogram opcode_histogram;
125 #ifdef NCVAL_TESTING 125 #ifdef NCVAL_TESTING
126 /* The string containing validator preconditions. */ 126 /* The string containing validator preconditions. */
127 char precond[NCVAL_CONDITION_SIZE]; 127 char precond[NCVAL_CONDITION_SIZE];
128 /* The string containing validator postconditions. */ 128 /* The string containing validator postconditions. */
129 char postcond[NCVAL_CONDITION_SIZE]; 129 char postcond[NCVAL_CONDITION_SIZE];
130 #endif 130 #endif
131 }; 131 };
132 132
133 #endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_REG_SFI_NCVALIDATE_ITER _INTERNAL_H__ */ 133 #endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_REG_SFI_NCVALIDATE_ITER _INTERNAL_H__ */
OLDNEW
« no previous file with comments | « src/trusted/validator/x86/ncval_reg_sfi/ncvalidate_iter.h ('k') | src/trusted/validator/x86/ncval_seg_sfi/ncvalidate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698