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 57 Deprecated: Assigning the return value of new by reference is deprecated in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parserutils.php on line 205 Deprecated: Assigning the return value of new by reference is deprecated in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parserutils.php on line 208 Deprecated: Assigning the return value of new by reference is deprecated in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parserutils.php on line 389 Deprecated: Assigning the return value of new by reference is deprecated in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parserutils.php on line 530 Strict Standards: Declaration of cache_instructions::retrieveCache() should be compatible with cache::retrieveCache($clean = true) in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/cache.php on line 291 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]
 
Deprecated: Assigning the return value of new by reference is deprecated in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parser/parser.php on line 66 Deprecated: Assigning the return value of new by reference is deprecated in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parser/lexer.php on line 292 Deprecated: Assigning the return value of new by reference is deprecated in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parser/handler.php on line 22 Deprecated: Assigning the return value of new by reference is deprecated in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parser/handler.php on line 49 Deprecated: Assigning the return value of new by reference is deprecated in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parser/handler.php on line 213 Deprecated: Assigning the return value of new by reference is deprecated in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parser/handler.php on line 241 Deprecated: Assigning the return value of new by reference is deprecated in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parser/handler.php on line 295 Deprecated: Assigning the return value of new by reference is deprecated in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parser/handler.php on line 328 Deprecated: Assigning the return value of new by reference is deprecated in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parser/handler.php on line 575 Deprecated: Assigning the return value of new by reference is deprecated in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parser/xhtml.php on line 939 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