Hi all i'm looking for a function within the kernel (for x86_64/amd64) that I can use from my module to save/load cpu context (something like Windows' RtlCaptureContext fcn).
I assume there's something like that available but having a hard time tracking it down. Any pointers int he right direction would greatly be apprecaited! Many thanks!