OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 The Native Client Authors. All rights reserved. | 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 | 3 * Use of this source code is governed by a BSD-style license that can |
4 * be found in the LICENSE file. | 4 * be found in the LICENSE file. |
5 * Copyright 2012, Google Inc. | 5 * Copyright 2012, Google Inc. |
6 */ | 6 */ |
7 | 7 |
8 #ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_MIPS_MODEL_H | 8 #ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_MIPS_MODEL_H |
9 #define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_MIPS_MODEL_H | 9 #define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_MIPS_MODEL_H |
10 | 10 |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 inline uint32_t operator&(uint32_t) const; | 146 inline uint32_t operator&(uint32_t) const; |
147 | 147 |
148 private: | 148 private: |
149 uint32_t _bits; | 149 uint32_t _bits; |
150 }; | 150 }; |
151 | 151 |
152 uint32_t const kInstrSize = 4; | 152 uint32_t const kInstrSize = 4; |
153 uint32_t const kInstrAlign = 0xFFFFFFFC; | 153 uint32_t const kInstrAlign = 0xFFFFFFFC; |
154 uint32_t const kBundleAlign = 0xFFFFFFF0; | 154 uint32_t const kBundleAlign = 0xFFFFFFF0; |
155 | 155 |
| 156 // Opcode for nop instruction. |
| 157 uint32_t const kNop = 0x0; |
| 158 |
156 } // namespace | 159 } // namespace |
157 | 160 |
158 // Definitions for our inlined functions. | 161 // Definitions for our inlined functions. |
159 #include "native_client/src/trusted/validator_mips/model-inl.h" | 162 #include "native_client/src/trusted/validator_mips/model-inl.h" |
160 | 163 |
161 #endif // NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_MIPS_MODEL_H | 164 #endif // NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_MIPS_MODEL_H |
OLD | NEW |