hi, Christophe Avoinne wrote:
From: "Yann Guidon" <whygee@f-cpu.org>you're right, it is almost the same principle as the MSR (as "Machine Specific Registers")
Quite now, I suspected SR to be equivalent to Intel SMR register, that is,SRs are not for I/O (because it would become a bottleneck).2) If you map SRs to memory, you will face race conditions and synchronisation problems, and protection will not be enforced on a register or register group granularity basis.It's exaclty the same problem for IO register, and it's soon solved.
The problem, hence the solution, is not the same.
PUT/GET are equivalent to Intel WSMR/RSMR and not to Intel IN/OUT.
Am I wrong ?