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. |