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_mips/decode.h

Issue 9979025: [MIPS] Adding validator for MIPS architecture. (Closed) Base URL: http://src.chromium.org/native_client/trunk/src/native_client/
Patch Set: Rebased patch, conflict resolved. Created 8 years, 6 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
« no previous file with comments | « src/trusted/validator_mips/build.scons ('k') | src/trusted/validator_mips/dgen/dgen_core.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright 2012 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can
4 * be found in the LICENSE file.
5 * Copyright 2012, Google Inc.
6 */
7
8 #ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_MIPS_DECODE_H
9 #define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_MIPS_DECODE_H
10
11 #include "native_client/src/trusted/validator_mips/model.h"
12 #include "native_client/src/trusted/validator_mips/inst_classes.h"
13
14 namespace nacl_mips_dec {
15
16 struct DecoderState;
17
18 /*
19 * Creates a new DecodeState instance that can be used to make calls to
20 * decode. The caller owns the result and should delete it when appropriate,
21 * by using delete_state below.
22 */
23 const DecoderState *init_decode();
24
25 /*
26 * Frees any resources previously allocated by a call to init_decode.
27 */
28 void delete_state(const DecoderState *);
29
30 /*
31 * Chooses a ClassDecoder that can answer questions about the given Instruction.
32 */
33 const ClassDecoder &decode(const Instruction, const DecoderState *);
34
35
36 } // namespace
37
38 #endif // NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_MIPS_DECODE_H
OLDNEW
« no previous file with comments | « src/trusted/validator_mips/build.scons ('k') | src/trusted/validator_mips/dgen/dgen_core.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698