Re: [PATCH] kexec based hibernation: a prototype of kexec multi-stage load

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Huang, Ying <ying.huang@...>
Cc: Vivek Goyal <vgoyal@...>, Pavel Machek <pavel@...>, <nigel@...>, Rafael J. Wysocki <rjw@...>, Andrew Morton <akpm@...>, <linux-kernel@...>, Kexec Mailing List <kexec@...>
Date: Wednesday, May 14, 2008 - 5:43 pm

"Huang, Ying" <ying.huang@intel.com> writes:


Then as a preliminary design let's plan on this.

- Pass the rentry point as the return address (using the C ABI).
  We may want to load the stack pointer etc so we can act as
  a direct entry point for new code.

- Look at passing a pointer to the mapping of pages that the kexec
  trampoline uses in arg1 of the C ABI.  Largely the format is defacto
  fixed anyway because we need to pass the structure from C to
  assembly.

Using the standard C ABI makes things much it much easier to pick
a calling convention, and to document it.

Eric
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] kexec based hibernation: a prototype of kexec mu..., Eric W. Biederman, (Wed May 14, 5:43 pm)
Re: [PATCH] kexec based hibernation: a prototype of kexec mu..., Eric W. Biederman, (Thu May 15, 10:55 pm)
Re: [PATCH] kexec based hibernation: a prototype of kexec mu..., Eric W. Biederman, (Thu May 15, 2:39 pm)
Re: [PATCH] kexec based hibernation: a prototype of kexec mu..., Eric W. Biederman, (Thu May 15, 10:25 pm)
Re: [PATCH] kexec based hibernation: a prototype of kexec mu..., Eric W. Biederman, (Thu May 15, 11:33 pm)
Re: [PATCH] kexec based hibernation: a prototype of kexec mu..., Eric W. Biederman, (Sat May 17, 9:59 pm)