Hello,

I want to add new instuctions in MARSS in order to give new features to x86
CPU.
To do this, I have been looking into MARSS source code. For smooth
analysis, I want to know the big picture of the relation between MARSS and
QEMU. What I want to know are the same as the follow.

- Which one does decode x86 instructions?
    According to the PTLsim manual, it looks like PTLsim only executes
translated ops. If so, decoding x86 instructions is executed in QEMU?

- How can I raise an exception in PTLsim?
    I'm planning to modify cache mechanism. After that, if there are some
abnormal conditions, I want to raise exception. Of course, I will modify
the linux kernel to deal with this exception. In my thought, abnormal case
in cache is caused in PTLsim. Therefore, exception is passed from PTLsim to
QEMU.

Regards,

Sungjin
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel

Reply via email to