Xen Test Framework
Functions
mm.h File Reference
#include <xtf/compiler.h>
#include <xtf/types.h>
#include <arch/page.h>
#include <arch/traps.h>
#include <xen/xen.h>
+ Include dependency graph for mm.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static void * pfn_to_virt (unsigned long pfn)
 
static unsigned long virt_to_pfn (const void *va)
 
void * mfn_to_virt (unsigned long mfn)
 
void * maddr_to_virt (uint64_t maddr)
 
unsigned long pfn_to_mfn (unsigned long pfn)
 
unsigned long virt_to_mfn (const void *va)
 
uint64_t virt_to_maddr (const void *va)
 
static void * gfn_to_virt (unsigned long gfn)
 
static unsigned long virt_to_gfn (const void *va)
 

Function Documentation

◆ pfn_to_virt()

static void * pfn_to_virt ( unsigned long  pfn)
inlinestatic

Definition at line 37 of file mm.h.

+ Here is the caller graph for this function:

◆ virt_to_pfn()

static unsigned long virt_to_pfn ( const void *  va)
inlinestatic

Definition at line 42 of file mm.h.

+ Here is the caller graph for this function:

◆ mfn_to_virt()

void * mfn_to_virt ( unsigned long  mfn)
+ Here is the caller graph for this function:

◆ maddr_to_virt()

void * maddr_to_virt ( uint64_t  maddr)
+ Here is the caller graph for this function:

◆ pfn_to_mfn()

unsigned long pfn_to_mfn ( unsigned long  pfn)
+ Here is the caller graph for this function:

◆ virt_to_mfn()

unsigned long virt_to_mfn ( const void *  va)
+ Here is the caller graph for this function:

◆ virt_to_maddr()

uint64_t virt_to_maddr ( const void *  va)
+ Here is the caller graph for this function:

◆ gfn_to_virt()

static void * gfn_to_virt ( unsigned long  gfn)
inlinestatic

Definition at line 91 of file mm.h.

+ Here is the call graph for this function:

◆ virt_to_gfn()

static unsigned long virt_to_gfn ( const void *  va)
inlinestatic

Definition at line 100 of file mm.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: