source: trunk/packages/xen-3.1/xen-3.1/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/xenoprof.h @ 34

Last change on this file since 34 was 34, checked in by hartmans, 18 years ago

Add xen and xen-common

File size: 1.8 KB
Line 
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
25
26struct super_block;
27struct dentry;
28int xenoprof_create_files(struct super_block * sb, struct dentry * root);
29#define HAVE_XENOPROF_CREATE_FILES
30
31struct xenoprof_init;
32void xenoprof_arch_init_counter(struct xenoprof_init *init);
33void xenoprof_arch_counter(void);
34void xenoprof_arch_start(void);
35void xenoprof_arch_stop(void);
36
37struct xenoprof_arch_shared_buffer {
38        /* nothing */
39};
40struct xenoprof_shared_buffer;
41void xenoprof_arch_unmap_shared_buffer(struct xenoprof_shared_buffer* sbuf);
42struct xenoprof_get_buffer;
43int xenoprof_arch_map_shared_buffer(struct xenoprof_get_buffer* get_buffer, struct xenoprof_shared_buffer* sbuf);
44struct xenoprof_passive;
45int xenoprof_arch_set_passive(struct xenoprof_passive* pdomain, struct xenoprof_shared_buffer* sbuf);
46
47#endif /* CONFIG_XEN */
48#endif /* __ASM_XENOPROF_H__ */
Note: See TracBrowser for help on using the repository browser.