How to test preserve_context mode?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>>


[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux