diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-07-11 15:47:14 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-07-11 15:47:14 +0100 |
commit | d8c8fef09054a87be97dc4b507509507f5ca326f (patch) | |
tree | f57d709d43df3e4ea26bf7174d8152750d5e511a /xen/arch/x86/boot/head.S | |
parent | ffc3f3c3db16cbaf2b1302037ec969fecc9e0ea0 (diff) | |
download | xen-d8c8fef09054a87be97dc4b507509507f5ca326f.tar.gz xen-d8c8fef09054a87be97dc4b507509507f5ca326f.tar.bz2 xen-d8c8fef09054a87be97dc4b507509507f5ca326f.zip |
Provide basic Xen PM infrastructure
Basic infrastructure for Xen S3 support with a common CPU
context save/restore logic for both 32bit and 64bit.
Wakeup code is split into two parts:
- the first locates after trampoline code, to share all the
tricks on the latter, like relocation base and identy mapping
- the 2nd part locates in xen code segment, to do the actual
CPU context restore
Signed-off-by Ke Yu <ke.yu@intel.com>
Signed-off-by Kevin Tian <kevin.tian@intel.com>
Diffstat (limited to 'xen/arch/x86/boot/head.S')
-rw-r--r-- | xen/arch/x86/boot/head.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/arch/x86/boot/head.S b/xen/arch/x86/boot/head.S index 4a987bbd56..8107eef44e 100644 --- a/xen/arch/x86/boot/head.S +++ b/xen/arch/x86/boot/head.S @@ -175,9 +175,11 @@ __start: #include "cmdline.S" + .align 16 .globl trampoline_start, trampoline_end trampoline_start: #include "trampoline.S" +#include "wakeup.S" trampoline_end: .text |