Strict Standards: Declaration of action_plugin_importoldchangelog::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /DISK2/WWW/pavel-rimsky.cz/helenos/lib/plugins/importoldchangelog/action.php on line 8 Strict Standards: Declaration of action_plugin_importoldindex::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /DISK2/WWW/pavel-rimsky.cz/helenos/lib/plugins/importoldindex/action.php on line 0 Deprecated: Function split() is deprecated in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/auth.php on line 154 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/auth.php on line 456 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/auth.php on line 456 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/auth.php on line 453 Strict Standards: Only variables should be passed by reference in /DISK2/WWW/pavel-rimsky.cz/helenos/doku.php on line 71 handy_simics_commands [HelenOS UltraSPARC port]
 
Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method Doku_Renderer_xhtml::_tocitem() should not be called statically in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/html.php on line 741 Strict Standards: Non-static method Doku_Renderer_xhtml::_xmlEntities() should not be called statically in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parser/xhtml.php on line 119 Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method Doku_Renderer_xhtml::_tocitem() should not be called statically in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/html.php on line 741 Strict Standards: Non-static method Doku_Renderer_xhtml::_xmlEntities() should not be called statically in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parser/xhtml.php on line 119 Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method Doku_Renderer_xhtml::_tocitem() should not be called statically in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/html.php on line 741 Strict Standards: Non-static method Doku_Renderer_xhtml::_xmlEntities() should not be called statically in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parser/xhtml.php on line 119 Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method Doku_Renderer_xhtml::_tocitem() should not be called statically in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/html.php on line 741 Strict Standards: Non-static method Doku_Renderer_xhtml::_xmlEntities() should not be called statically in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parser/xhtml.php on line 119

Handy Simics commands

  • pregs - print values of all registers
  • break -x address = 0×4000 length = 100 - break if an instruction at address 0×4000 is executed
  • break-exception name = Illegal_Instruction - break on an Illegal Instruction trap
  • si - execute the first following instruction
  • c 10 - execute 10 following instructions

Tracing

This code will execute 10 instructions, printing information about each of them.

new-tracer
trace0.start
c 10
trace0.stop

Reading and writing memory

  • phys_mem.get address = 0×4000 size = 1 - prints the contents of the byte at location 0×4000
  • phys_mem.set address = 0×4000 size = 1 value = 0x7A - sets the contents of the byte at location 0×4000 to 0x7a
  • phys_mem.x address = 0×4000 size = 10 - prints the contents of the 10 consecutive bytes starting at location 0×4000
  • disassemble address = 0×4000 count = 10 - disassembles and prints the contents of the 10 consecutive instructions starting at location 0×4000

Investigating MMU

  • mmu0.regs - prints the values of all the registers of MMU on CPU0
 
handy_simics_commands.txt · Last modified: 2008/10/03 23:30 by 83.208.68.45
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Strict Standards: Only variables should be passed by reference in /DISK2/WWW/pavel-rimsky.cz/helenos/doku.php on line 79