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

Side by Side Diff: src/trusted/validator_arm/validator.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
« no previous file with comments | « src/trusted/validator_arm/ncvalidate.cc ('k') | src/trusted/validator_arm/validator_arm.gyp » ('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_ARM_V2_VALIDATOR_H 7 #ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_ARM_V2_VALIDATOR_H
8 #define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_ARM_V2_VALIDATOR_H 8 #define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_ARM_V2_VALIDATOR_H
9 9
10 /* 10 /*
11 * The SFI validator, and some utility classes it uses. 11 * The SFI validator, and some utility classes it uses.
12 */ 12 */
13 13
14 #include <limits> 14 #include <limits>
15 #include <stdlib.h> 15 #include <stdlib.h>
16 #include <vector> 16 #include <vector>
17 17
18 #include "native_client/src/include/nacl_string.h" 18 #include "native_client/src/include/nacl_string.h"
19 #include "native_client/src/include/portability.h" 19 #include "native_client/src/include/portability.h"
20 #include "native_client/src/shared/platform/nacl_check.h" 20 #include "native_client/src/shared/platform/nacl_check.h"
21 #include "native_client/src/trusted/validator/ncvalidate.h" 21 #include "native_client/src/trusted/validator/ncvalidate.h"
22 #include "native_client/src/trusted/validator_arm/address_set.h" 22 #include "native_client/src/trusted/validator_arm/address_set.h"
23 #include "native_client/src/trusted/validator_arm/cpuid_arm.h" 23 #include "native_client/src/trusted/cpu_features/arch/arm/cpu_arm.h"
24 #include "native_client/src/trusted/validator_arm/gen/arm32_decode.h" 24 #include "native_client/src/trusted/validator_arm/gen/arm32_decode.h"
25 #include "native_client/src/trusted/validator_arm/inst_classes.h" 25 #include "native_client/src/trusted/validator_arm/inst_classes.h"
26 #include "native_client/src/trusted/validator_arm/model.h" 26 #include "native_client/src/trusted/validator_arm/model.h"
27 27
28 namespace nacl_arm_val { 28 namespace nacl_arm_val {
29 29
30 // Forward declarations of classes used by-reference in the validator, and 30 // Forward declarations of classes used by-reference in the validator, and
31 // defined at the end of this file. 31 // defined at the end of this file.
32 class CodeSegment; 32 class CodeSegment;
33 class DecodedInstruction; 33 class DecodedInstruction;
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 // Used so that we can blindly copy/compare user data. 648 // Used so that we can blindly copy/compare user data.
649 static size_t UserDataSize(ValidatorProblemMethod method); 649 static size_t UserDataSize(ValidatorProblemMethod method);
650 650
651 private: 651 private:
652 NACL_DISALLOW_COPY_AND_ASSIGN(ProblemSink); 652 NACL_DISALLOW_COPY_AND_ASSIGN(ProblemSink);
653 }; 653 };
654 654
655 } // namespace nacl_arm_val 655 } // namespace nacl_arm_val
656 656
657 #endif // NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_ARM_V2_VALIDATOR_H 657 #endif // NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_ARM_V2_VALIDATOR_H
OLDNEW
« no previous file with comments | « src/trusted/validator_arm/ncvalidate.cc ('k') | src/trusted/validator_arm/validator_arm.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698