I'm messing around with the x86 relocate_kernel code, and I'd like to
test the 'preserve_context' mode. I can't find any documentation or
examples; am I just being dim?

All I want to do is kexec into an environment which just does a 'ret',
and comes back to the original kernel.

I've only been able to do that by hacking out the 'call %rdx' in
relocate_kernel_64.S so it never even calls into the environment in the
first place. 

(Which doesn't work, as the kernel forgets to reload its own GDT, but
with *that* fixed it seems fine.)



Also, I've configured the mailing list to no longer append a footer,
because it makes the lore.kernel.org archive unhappy.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to