I need to enable script access to the registers in the CP15 of my arm946e core.

I've tried to add

  COMMAND_HANDLER(arm946e_handle_cp15_command)
  ....
      Jim_SetResult(CMD_CTX->interp,Jim_NewIntObj(CMD_CTX->interp, value));

But the result of

   set a [arm946e cp15 0]

still appears to be empty.

It's quite strange to have commands, that only prints their results,
in the system with powerful scripting engine.

In particular
  arm mrc
  arm946e cp15
seems very useful to return their results.

Since these commands expect to return single integer,
there should be no problems with output formatting.

Regards,
Alex.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to