diff options
author | Ivan De Cesaris <ivan.de.cesaris@intel.com> | 2016-01-12 16:30:18 +0100 |
---|---|---|
committer | Andreas Fritiofson <andreas.fritiofson@gmail.com> | 2016-02-13 22:55:41 +0000 |
commit | a4ce9a2c719b1f7536ada1c9fa8f1eb672b04897 (patch) | |
tree | 3e57cd84810f6bb309d29202c40a26af67567cb9 /src/target/x86_32_common.h | |
parent | 3e07e1cdfac63d5fb93260803d16e79f292dae73 (diff) |
quark: add Intel Quark mcu D2000 support
Add support for the Intel Quark mcu D2000 using the new quark_d2xx
target.
Changes to the lakemont part are needed for the D2000 core and
backwards compatible with the X1000 one.
Change-Id: I6e1ef5a5d116344942f08e413965abd3945235fa
Signed-off-by: Ivan De Cesaris <ivan.de.cesaris@intel.com>
Reviewed-on: http://openocd.zylin.com/3199
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'src/target/x86_32_common.h')
-rw-r--r-- | src/target/x86_32_common.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/target/x86_32_common.h b/src/target/x86_32_common.h index af57a5f7..c9cb389b 100644 --- a/src/target/x86_32_common.h +++ b/src/target/x86_32_common.h @@ -1,5 +1,5 @@ /* - * Copyright(c) 2013 Intel Corporation. + * Copyright(c) 2013-2016 Intel Corporation. * * Adrian Burns (adrian.burns@intel.com) * Thomas Faust (thomas.faust@intel.com) @@ -196,6 +196,11 @@ enum { WBINVD, }; +enum x86_core_type { + LMT1, + LMT3_5 +}; + struct swbp_mem_patch { uint8_t orig_byte; uint32_t swbp_unique_id; @@ -209,6 +214,7 @@ struct swbp_mem_patch { struct x86_32_common { uint32_t common_magic; void *arch_info; + enum x86_core_type core_type; struct reg_cache *cache; struct jtag_tap *curr_tap; uint32_t stored_pc; |