Thank you all, but I have done ALL the things you said and still
simulation doesn't stop. Perhaps I am omitting something important, so
I list all I do:
1) Launch Simics (from donut directory)
2) Simics command "magic-break-enable"
3) Simics Run-python-file (file with definition of hap handler as you wrote)
4) Read-configuration of the booted machine with Solaris
5) Compile on simulated machine the little piece of code which
"launch" magic instruction (I do both MAGIC_BREAKPOINT as defined in
magic-instruction.h and MAGIC_BREAK as someone of you posted; I also
add in magic-instruction.h an #elif __sparc__ , followed by macro
definition)
6) Run the executable obtained at point 5, but simulation doesn't stop.
Perhaps the order of points 2, 3 and 4 and 5 is fundamental, but I
tried to do those things in some different order and still have the
same problem...
|