1 /******************************************************************************
4 * Copyright (c) 2003-2004, K A Fraser
6 * This file may be distributed separately from the Linux kernel, or
7 * incorporated into other software packages, subject to the following license:
9 * Permission is hereby granted, free of charge, to any person obtaining a copy
10 * of this source file (the "Software"), to deal in the Software without
11 * restriction, including without limitation the rights to use, copy, modify,
12 * merge, publish, distribute, sublicense, and/or sell copies of the Software,
13 * and to permit persons to whom the Software is furnished to do so, subject to
14 * the following conditions:
16 * The above copyright notice and this permission notice shall be included in
17 * all copies or substantial portions of the Software.
19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
24 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
28 #ifndef __ASM_XEN_SUSPEND_H__
29 #define __ASM_XEN_SUSPEND_H__
31 typedef struct suspend_record_st {
32 /* To be filled in before resume. */
33 start_info_t resume_info;
35 * The number of a machine frame containing, in sequence, the number of
36 * each machine frame that contains PFN -> MFN translation table data.
38 unsigned long pfn_to_mfn_frame_list;
39 /* Number of entries in the PFN -> MFN translation table. */
40 unsigned long nr_pfns;
43 #endif /* __ASM_XEN_SUSPEND_H__ */