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

Side by Side Diff: src/trusted/validator_mips/model.h

Issue 11415031: [MIPS] Forbid $sp update at the end of the last bundle. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: 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 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
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
OLDNEW
« no previous file with comments | « no previous file | src/trusted/validator_mips/validator.cc » ('j') | src/trusted/validator_mips/validator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698