Closed MerlijnWajer closed 11 years ago
Apparently we can use the CS; http://old-list-archives.xen.org/archives/html/xen-devel/2005-06/msg00377.html Also, the other method didn't work well so I'm switching over to CS.
Initial proposal in 2e6e38a
I've been thinking, maybe we need a function that will tell you if a certain event is a certain system call, taking the abi etc into account. Macro should do, I guess.
Implemented quite a bit now; see d2b0bef. Implemented AMD64 abi detection; ARM is currently WIP; x86 should be very straightforward. Lots of Makefile changes (they need to be cleaned up); there's some extra debug statements, but it mostly works. We also need to replace all getsyscall{name,number} instances that do not use the ABI variants.
I think I want to merge this eventually, I need to make few more changes but then I think it's ready for merging to master. Especially if our (only) application soxy doesn't break. I'll make it abi-compatible as well.
See 33e61f1718a4b83947cc2fa43a6634b9ac830d04 Added hooking per abi, register fixes and other stuff.
IMHO work is now stable enough to be merged into master. So. Merged.
Okay, so to merge the ABI changes we need to do several things:
Will add more as we figure this out.