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

Unified Diff: src/trusted/validator_arm/decode.h

Issue 7799013: Intial Thumb2 Sandbox (naclrev 6680) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: asdsa Created 9 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: src/trusted/validator_arm/decode.h
diff --git a/src/trusted/validator_arm/decode.h b/src/trusted/validator_arm/decode.h
index e6d05b7f3851e02c7ce783d427af7d19b140924a..159b96247d6e6fc3f45387e5e91cc80fd8cbca43 100644
--- a/src/trusted/validator_arm/decode.h
+++ b/src/trusted/validator_arm/decode.h
@@ -1,8 +1,8 @@
/*
- * Copyright 2009 The Native Client Authors. All rights reserved.
+ * Copyright 2011 The Native Client Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can
* be found in the LICENSE file.
- * Copyright 2009, Google Inc.
+ * Copyright 2011, Google Inc.
*/
#ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_ARM_V2_DECODE_H
@@ -19,8 +19,10 @@ struct DecoderState;
* Creates a new DecodeState instance that can be used to make calls to
* decode. The caller owns the result and should delete it when appropriate,
* by using delete_state below.
+ * thumb == 1 means we are decoding for thumb mode (thumb2 ISA specifically)
+ * The NaClApp struct tells us this (thumb == (address has LSB set to 1))
*/
-const DecoderState *init_decode();
+const DecoderState *init_decode(uint8_t thumb);
/*
* Frees any resources previously allocated by a call to init_decode.

Powered by Google App Engine
This is Rietveld 408576698