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.
2
* This library is free software; you can redistribute it and/or
3
* modify it under the terms of the GNU Lesser General Public
4
* License as published by the Free Software Foundation; either
5
* version 2.1 of the License, or (at your option) any later version.
7
* This program is distributed in the hope that it will be useful,
7
* This library is distributed in the hope that it will be useful,
8
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.
9
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10
* Lesser General Public License for more details.
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.
12
* You should have received a copy of the GNU Lesser General Public
13
* License along with this library; if not, write to the Free Software
14
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
* Copyright (c) 2007 Isaku Yamahata <yamahata at valinux co jp>
17
17
* VA Linux Systems Japan K.K.
21
21
#ifndef _XC_IA64_H_
22
22
#define _XC_IA64_H_
24
int xc_ia64_copy_memmap(int xc_handle, uint32_t domid,
24
int xc_ia64_copy_memmap(xc_interface *xc_handle, uint32_t domid,
25
25
shared_info_t *live_shinfo,
26
26
xen_ia64_memmap_info_t **memmap_info_p,
27
27
unsigned long *memmap_info_num_pages_p);
34
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,
35
int xc_ia64_p2m_map(struct xen_ia64_p2m_table *p2m_table, xc_interface *xc_handle,
36
36
uint32_t domid, struct xen_ia64_memmap_info *memmap_info,
37
37
unsigned long flag);
38
38
void xc_ia64_p2m_unmap(struct xen_ia64_p2m_table *p2m_table);