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

« back to all changes in this revision

Viewing changes to xen/arch/x86/mm/hap/private.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
 * arch/x86/mm/hap/private.h
 
3
 *
 
4
 * Copyright (c) 2007, AMD Corporation (Wei Huang)
 
5
 *
 
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.
 
9
 *
 
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
 
13
 * more details.
 
14
 *
 
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.
 
18
 *
 
19
 */
 
20
#ifndef __HAP_PRIVATE_H__
 
21
#define __HAP_PRIVATE_H__
 
22
 
 
23
/********************************************/
 
24
/*          GUEST TRANSLATION FUNCS         */
 
25
/********************************************/
 
26
unsigned long hap_gva_to_gfn_2_levels(struct vcpu *v, unsigned long gva, 
 
27
                                     uint32_t *pfec);
 
28
unsigned long hap_gva_to_gfn_3_levels(struct vcpu *v, unsigned long gva,
 
29
                                     uint32_t *pfec);
 
30
unsigned long hap_gva_to_gfn_4_levels(struct vcpu *v, unsigned long gva,
 
31
                                     uint32_t *pfec);
 
32
 
 
33
 
 
34
#endif /* __SVM_NPT_H__ */