DBGFAddr.cpp revision 61028bf0d1927cff20200e587be6f306aa331fe2
1832N/A * VMM DBGF - Debugger Facility, Mixed Address Methods. 1832N/A * Copyright (C) 2006-2007 innotek GmbH 1832N/A * This file is part of VirtualBox Open Source Edition (OSE), as 1832N/A * you can redistribute it and/or modify it under the terms of the GNU 1832N/A * General Public License as published by the Free Software Foundation, 1832N/A * in version 2 as it comes in the "COPYING" file of the VirtualBox OSE 1832N/A * distribution. VirtualBox OSE is distributed in the hope that it will 1832N/A * be useful, but WITHOUT ANY WARRANTY of any kind. 1832N/A/******************************************************************************* 1832N/A*******************************************************************************/ 1832N/A * Checks if an address is in the HMA or not. 1832N/A * @returns true if it's inside the HMA. 1832N/A * @returns flase if it's not inside the HMA. 1832N/A * @param pVM The VM handle. 1832N/A * @param FlatPtr The address in question. 1832N/A * Creates a mixed address from a Sel:off pair. 1832N/A * @returns VBox status code. 1832N/A * @param pVM The VM handle. 1832N/A * @param pAddress Where to store the mixed address. 1832N/A * @param Sel The selector part. 1832N/A * @param off The offset part. 1832N/A /** @todo fix this flat selector test! */ 1832N/A * Creates a mixed address from a flat address. 1832N/A * @param pVM The VM handle. 1832N/A * @param pAddress Where to store the mixed address. 1832N/A * @param FlatPtr The flat pointer. * Creates a mixed address from a guest physical address. * @param pVM The VM handle. * @param pAddress Where to store the mixed address. * @param PhysAddr The guest physical address. * Checks if the specified address is valid (checks the structure pointer too). * @returns true if valid. * @returns false if invalid. * @param pVM The VM handle. * @param pAddress The address to validate.