hi all:

2014-12-21 21:56 GMT+08:00 vichy <[email protected]>:
> hi all:
> when I trace openocd code for "reg xx vvvv" command in armv7 platform,
> I found the register is not exactly written to when we type above
> command.
> so I have some questions as below:
>
> 1. in armv4_5_set_core_reg, it seems no matter cpsr or other
> registers, the register on the target is not written immediately and
> the value is just put in struct reg->value.
> When we did put that value into target platform's register?
>
> 2. Why cpsr need special function, arm_set_cpsr to take care cpsr?
>
3. in enum arm_mode, there are 3 modes below will conflit armv8 mode setting
    ARM_MODE_THREAD = 0,
    ARM_MODE_USER_THREAD = 1,
    ARM_MODE_HANDLER = 2,
Does anyone know what above 3 modes used for in armv7?

Appreciate your kind help in advance,

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to