2
* arch/x86/mm/hap/private.h
4
* Copyright (c) 2007, AMD Corporation (Wei Huang)
6
* This program is free software; you can redistribute it and/or modify it
7
* under the terms and conditions of the GNU General Public License,
8
* version 2, as published by the Free Software Foundation.
10
* This program is distributed in the hope it will be useful, but WITHOUT
11
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15
* You should have received a copy of the GNU General Public License along with
16
* this program; if not, write to the Free Software Foundation, Inc., 59 Temple
17
* Place - Suite 330, Boston, MA 02111-1307 USA.
20
#ifndef __HAP_PRIVATE_H__
21
#define __HAP_PRIVATE_H__
23
/********************************************/
24
/* GUEST TRANSLATION FUNCS */
25
/********************************************/
26
unsigned long hap_gva_to_gfn_2_levels(struct vcpu *v, unsigned long gva,
28
unsigned long hap_gva_to_gfn_3_levels(struct vcpu *v, unsigned long gva,
30
unsigned long hap_gva_to_gfn_4_levels(struct vcpu *v, unsigned long gva,
34
#endif /* __SVM_NPT_H__ */