Support changing cpu model for ARM

This commit is contained in:
lazymio
2021-11-04 18:37:10 +01:00
parent 28013c13be
commit dfbffa44ec
6 changed files with 84 additions and 38 deletions

View File

@ -30,9 +30,9 @@ typedef enum uc_cpu_arm {
UC_CPU_ARM_CORTEX_M33,
UC_CPU_ARM_CORTEX_R5,
UC_CPU_ARM_CORTEX_R5F,
UC_CPU_ARM_CORTEX_A7,
UC_CPU_ARM_CORTEX_A8,
UC_CPU_ARM_CORTEX_A9,
UC_CPU_ARM_CORTEX_A7,
UC_CPU_ARM_CORTEX_A15,
UC_CPU_ARM_TI925T,
UC_CPU_ARM_SA1100,

View File

@ -513,7 +513,7 @@ typedef enum uc_control_type {
// Note this option can only be set before any Unicorn
// API is called except for uc_open.
// Write: @args = (int)
// Read: @args = (int)
// Read: @args = (int*)
UC_CTL_CPU_MODEL,
// Request a tb cache at a specific address
// Read: @args = (uint64_t, uc_tb*)