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

Side by Side Diff: src/trusted/validator_arm/inst_classes_testers.h

Issue 11194045: Change BKPT and UDF encodings on ARM. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Update copyright. Created 8 years, 1 month 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 // Defines decoder testers for decoder classes. 7 // Defines decoder testers for decoder classes.
8 8
9 #ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_ARM_INST_CLASSES_TESTERS_H_ 9 #ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_ARM_INST_CLASSES_TESTERS_H_
10 #define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_ARM_INST_CLASSES_TESTERS_H_ 10 #define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_ARM_INST_CLASSES_TESTERS_H_
(...skipping 2413 matching lines...) Expand 10 before | Expand all | Expand 10 after
2424 explicit InstructionBarrierTester(const NamedClassDecoder& decoder) 2424 explicit InstructionBarrierTester(const NamedClassDecoder& decoder)
2425 : BarrierInstTester(decoder) {} 2425 : BarrierInstTester(decoder) {}
2426 virtual bool ApplySanityChecks( 2426 virtual bool ApplySanityChecks(
2427 nacl_arm_dec::Instruction inst, 2427 nacl_arm_dec::Instruction inst,
2428 const NamedClassDecoder& decoder); 2428 const NamedClassDecoder& decoder);
2429 2429
2430 private: 2430 private:
2431 NACL_DISALLOW_COPY_AND_ASSIGN(InstructionBarrierTester); 2431 NACL_DISALLOW_COPY_AND_ASSIGN(InstructionBarrierTester);
2432 }; 2432 };
2433 2433
2434 // Implements a decoder tester for a Roadblock. 2434 // Implements a decoder tester for a PermanentlyUndefined.
2435 class RoadblockTester : public CondDecoderTester { 2435 class PermanentlyUndefinedTester : public CondDecoderTester {
2436 public: 2436 public:
2437 explicit RoadblockTester(const NamedClassDecoder& decoder) 2437 explicit PermanentlyUndefinedTester(const NamedClassDecoder& decoder)
2438 : CondDecoderTester(decoder) {} 2438 : CondDecoderTester(decoder) {}
2439 virtual bool ApplySanityChecks( 2439 virtual bool ApplySanityChecks(
2440 nacl_arm_dec::Instruction inst, 2440 nacl_arm_dec::Instruction inst,
2441 const NamedClassDecoder& decoder); 2441 const NamedClassDecoder& decoder);
2442 2442
2443 private: 2443 private:
2444 NACL_DISALLOW_COPY_AND_ASSIGN(RoadblockTester); 2444 NACL_DISALLOW_COPY_AND_ASSIGN(PermanentlyUndefinedTester);
2445 }; 2445 };
2446 2446
2447 } // namespace nacl_arm_test 2447 } // namespace nacl_arm_test
2448 2448
2449 #endif // NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_ARM_INST_CLASSES_TESTERS_H_ 2449 #endif // NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_ARM_INST_CLASSES_TESTERS_H_
OLDNEW
« no previous file with comments | « src/trusted/validator_arm/gen/arm32_decode_named_decoder.h ('k') | src/trusted/validator_arm/inst_classes_testers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698