ia64/xen-unstable

view linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/xenoprof.h @ 13341:3040ba0f2d3d

When booting via xm, only run the bootloader if it's in non-interactive mode:
otherwise we lose the user's named kernel and try to bootload the temporary
file pygrub returned.

Signed-off-by: John Levon <john.levon@sun.com>
author Tim Deegan <Tim.Deegan@xensource.com>
date Tue Jan 09 13:24:45 2007 +0000 (2007-01-09)
parents 1ef9954a2668
children
line source
1 /******************************************************************************
2 * asm-i386/mach-xen/asm/xenoprof.h
3 *
4 * Copyright (c) 2006 Isaku Yamahata <yamahata at valinux co jp>
5 * VA Linux Systems Japan K.K.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 *
21 */
22 #ifndef __ASM_XENOPROF_H__
23 #define __ASM_XENOPROF_H__
24 #ifdef CONFIG_XEN
26 struct super_block;
27 struct dentry;
28 int xenoprof_create_files(struct super_block * sb, struct dentry * root);
29 #define HAVE_XENOPROF_CREATE_FILES
31 struct xenoprof_init;
32 void xenoprof_arch_init_counter(struct xenoprof_init *init);
33 void xenoprof_arch_counter(void);
34 void xenoprof_arch_start(void);
35 void xenoprof_arch_stop(void);
37 struct xenoprof_arch_shared_buffer {
38 /* nothing */
39 };
40 struct xenoprof_shared_buffer;
41 void xenoprof_arch_unmap_shared_buffer(struct xenoprof_shared_buffer* sbuf);
42 struct xenoprof_get_buffer;
43 int xenoprof_arch_map_shared_buffer(struct xenoprof_get_buffer* get_buffer, struct xenoprof_shared_buffer* sbuf);
44 struct xenoprof_passive;
45 int xenoprof_arch_set_passive(struct xenoprof_passive* pdomain, struct xenoprof_shared_buffer* sbuf);
47 #endif /* CONFIG_XEN */
48 #endif /* __ASM_XENOPROF_H__ */