pgm.h revision affe32a95c4c38d5631aefc2a1ed322997767116
affe32a95c4c38d5631aefc2a1ed322997767116vboxsync/* $Id$ */
affe32a95c4c38d5631aefc2a1ed322997767116vboxsync/** @file
affe32a95c4c38d5631aefc2a1ed322997767116vboxsync * PGM - Internal VMM header file.
affe32a95c4c38d5631aefc2a1ed322997767116vboxsync */
affe32a95c4c38d5631aefc2a1ed322997767116vboxsync
affe32a95c4c38d5631aefc2a1ed322997767116vboxsync/*
affe32a95c4c38d5631aefc2a1ed322997767116vboxsync * Copyright (C) 2006-2010 Oracle Corporation
affe32a95c4c38d5631aefc2a1ed322997767116vboxsync *
affe32a95c4c38d5631aefc2a1ed322997767116vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
affe32a95c4c38d5631aefc2a1ed322997767116vboxsync * available from http://www.virtualbox.org. This file is free software;
affe32a95c4c38d5631aefc2a1ed322997767116vboxsync * you can redistribute it and/or modify it under the terms of the GNU
affe32a95c4c38d5631aefc2a1ed322997767116vboxsync * General Public License (GPL) as published by the Free Software
affe32a95c4c38d5631aefc2a1ed322997767116vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
affe32a95c4c38d5631aefc2a1ed322997767116vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
affe32a95c4c38d5631aefc2a1ed322997767116vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
affe32a95c4c38d5631aefc2a1ed322997767116vboxsync */
affe32a95c4c38d5631aefc2a1ed322997767116vboxsync
affe32a95c4c38d5631aefc2a1ed322997767116vboxsync#ifndef ___PGM_include_internal_h
affe32a95c4c38d5631aefc2a1ed322997767116vboxsync#define ___PGM_include_internal_h
affe32a95c4c38d5631aefc2a1ed322997767116vboxsync
affe32a95c4c38d5631aefc2a1ed322997767116vboxsync#include <VBox/pgm.h>
affe32a95c4c38d5631aefc2a1ed322997767116vboxsync
affe32a95c4c38d5631aefc2a1ed322997767116vboxsyncVMMDECL(int) PGMPhysGCPhys2HCPhys(PVM pVM, RTGCPHYS GCPhys, PRTHCPHYS pHCPhys);
affe32a95c4c38d5631aefc2a1ed322997767116vboxsyncVMMDECL(int) PGMPhysGCPtr2HCPhys(PVMCPU pVCpu, RTGCPTR GCPtr, PRTHCPHYS pHCPhys);
affe32a95c4c38d5631aefc2a1ed322997767116vboxsyncVMMDECL(int) PGMPhysGCPhys2CCPtr(PVM pVM, RTGCPHYS GCPhys, void **ppv, PPGMPAGEMAPLOCK pLock);
affe32a95c4c38d5631aefc2a1ed322997767116vboxsyncVMMDECL(int) PGMPhysGCPhys2CCPtrReadOnly(PVM pVM, RTGCPHYS GCPhys, void const **ppv, PPGMPAGEMAPLOCK pLock);
affe32a95c4c38d5631aefc2a1ed322997767116vboxsyncVMMDECL(int) PGMPhysGCPtr2CCPtr(PVMCPU pVCpu, RTGCPTR GCPtr, void **ppv, PPGMPAGEMAPLOCK pLock);
affe32a95c4c38d5631aefc2a1ed322997767116vboxsyncVMMDECL(int) PGMPhysGCPtr2CCPtrReadOnly(PVMCPU pVCpu, RTGCPTR GCPtr, void const **ppv, PPGMPAGEMAPLOCK pLock);
affe32a95c4c38d5631aefc2a1ed322997767116vboxsyncVMMDECL(int) PGMPhysGCPhys2R3Ptr(PVM pVM, RTGCPHYS GCPhys, RTUINT cbRange, PRTR3PTR pR3Ptr);
affe32a95c4c38d5631aefc2a1ed322997767116vboxsync#ifdef VBOX_STRICT
affe32a95c4c38d5631aefc2a1ed322997767116vboxsyncVMMDECL(RTR3PTR) PGMPhysGCPhys2R3PtrAssert(PVM pVM, RTGCPHYS GCPhys, RTUINT cbRange);
affe32a95c4c38d5631aefc2a1ed322997767116vboxsync#endif
affe32a95c4c38d5631aefc2a1ed322997767116vboxsyncVMMDECL(int) PGMPhysGCPtr2R3Ptr(PVMCPU pVCpu, RTGCPTR GCPtr, PRTR3PTR pR3Ptr);
affe32a95c4c38d5631aefc2a1ed322997767116vboxsync
affe32a95c4c38d5631aefc2a1ed322997767116vboxsync#endif