~ubuntu-branches/ubuntu/utopic/xen/utopic

« back to all changes in this revision

Viewing changes to tools/libxc/ia64/xc_ia64.h

  • Committer: Bazaar Package Importer
  • Author(s): Bastian Blank
  • Date: 2010-05-06 15:47:38 UTC
  • mto: (1.3.1) (15.1.1 sid) (4.1.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20100506154738-agoz0rlafrh1fnq7
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * This program is free software; you can redistribute it and/or modify
 
3
 * it under the terms of the GNU General Public License as published by
 
4
 * the Free Software Foundation; either version 2 of the License, or
 
5
 * (at your option) any later version.
 
6
 *
 
7
 * This program is distributed in the hope that it will be useful,
 
8
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
9
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
10
 * GNU General Public License for more details.
 
11
 *
 
12
 * You should have received a copy of the GNU General Public License
 
13
 * along with this program; if not, write to the Free Software
 
14
 * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
15
 *
 
16
 * Copyright (c) 2007 Isaku Yamahata <yamahata at valinux co jp>
 
17
 *                    VA Linux Systems Japan K.K.
 
18
 *
 
19
 */
 
20
 
 
21
#ifndef _XC_IA64_H_
 
22
#define _XC_IA64_H_
 
23
 
 
24
int xc_ia64_copy_memmap(int xc_handle, uint32_t domid,
 
25
                        shared_info_t *live_shinfo,
 
26
                        xen_ia64_memmap_info_t **memmap_info_p,
 
27
                        unsigned long *memmap_info_num_pages_p);
 
28
 
 
29
struct xen_ia64_p2m_table {
 
30
    unsigned long size;
 
31
    unsigned long *p2m;
 
32
};
 
33
 
 
34
void xc_ia64_p2m_init(struct xen_ia64_p2m_table *p2m_table);
 
35
int xc_ia64_p2m_map(struct xen_ia64_p2m_table *p2m_table, int xc_handle,
 
36
                    uint32_t domid, struct xen_ia64_memmap_info *memmap_info,
 
37
                    unsigned long flag);
 
38
void xc_ia64_p2m_unmap(struct xen_ia64_p2m_table *p2m_table);
 
39
int xc_ia64_p2m_present(struct xen_ia64_p2m_table *p2m_table,
 
40
                        unsigned long gpfn);
 
41
int xc_ia64_p2m_allocated(struct xen_ia64_p2m_table *p2m_table,
 
42
                          unsigned long gpfn);
 
43
 
 
44
unsigned long xc_ia64_p2m_mfn(struct xen_ia64_p2m_table *p2m_table,
 
45
                              unsigned long gpfn);
 
46
 
 
47
 
 
48
#endif /* _XC_IA64_H_ */
 
49
 
 
50
/*
 
51
 * Local variables:
 
52
 * mode: C
 
53
 * c-set-style: "BSD"
 
54
 * c-basic-offset: 4
 
55
 * tab-width: 4
 
56
 * indent-tabs-mode: nil
 
57
 * End:
 
58
 */