On Thu, 26 Jun 2014, Alexander Graf wrote:
I don't think any other OS really accesses these ranges, but only
time will tell ;).
Don't know, according to previous replies they may. Then how about
always clearing the translation for page zero the next time our
handler is called so I always get a new exception when it's
accessed? (I have to add it for the access to succeed but I may
remove it at the next possible occasion.) In the lack of a better
idea I'll try this.
That sounds odd. Why don't you just implement a tiny instruction
emulator? We only need to catch stores here, no?
I assume yes but I'm not sure and I don't know how to do that. Do you
know about an example somewhere?