direct-io.hg

view linux-2.6.9-xen-sparse/include/asm-xen/linux-public/suspend.h @ 2821:724449a888fe

bitkeeper revision 1.1159.1.332 (41874e954CLIDA2J3phVFD2RnzVTpA)

Clean up public XenLinux header files. Now accessible from userspace as
#include <xen/linux...>
Got rid of the linux-xen-sparse symlink as it's no longer needed.
author kaf24@freefall.cl.cam.ac.uk
date Tue Nov 02 09:08:37 2004 +0000 (2004-11-02)
parents
children
line source
1 /******************************************************************************
2 * suspend.h
3 *
4 * Copyright (c) 2003-2004, K A Fraser
5 *
6 * This file may be distributed separately from the Linux kernel, or
7 * incorporated into other software packages, subject to the following license:
8 *
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:
15 *
16 * The above copyright notice and this permission notice shall be included in
17 * all copies or substantial portions of the Software.
18 *
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
25 * IN THE SOFTWARE.
26 */
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;
34 /*
35 * The number of a machine frame containing, in sequence, the number of
36 * each machine frame that contains PFN -> MFN translation table data.
37 */
38 unsigned long pfn_to_mfn_frame_list;
39 /* Number of entries in the PFN -> MFN translation table. */
40 unsigned long nr_pfns;
41 } suspend_record_t;
43 #endif /* __ASM_XEN_SUSPEND_H__ */