Hi Daniele:
Could you put the magic-instruction.h on the
forum? I don't know what the macro Magic(1) is.
Generally speaking, simics takes a sethi instruction
of g0 and interpret that instruction as a special hint
for stopping execution of the simulated machine of
sparc architecture.
Regards
James
--- Daniele Bordes <daniele.bordes@xxxxxxxxx> wrote:
Hi all. I have problems with Magic Instructions. The
simulated machine
is an 8-Sparc processors running Solaris 10. After
having executed
simics command "magic-break-enable", I tried to
compile on the target
machine this piece of code:
#include<magic-instruction.h>
void *global_data;
int main()
{
MAGIC(1);
}
but when I run the obtained executable on target
machine, nothing
happens, there is, simulation does not stop.
Does someone know what was wrong?
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by
adding
"site:https://lists.cs.wisc.edu/archive/gems-users/"
to your search.
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.