PciDeviceAttachmentImpl.cpp revision f7cab3b7053c6c723b1809a236f088188b75a38b
/* $Id$ */
/** @file
*
* PCI attachment information implmentation.
*/
/*
* Copyright (C) 2010 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License (GPL) as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*/
#include "PciDeviceAttachmentImpl.h"
#include "AutoCaller.h"
#include "Global.h"
#include "Logging.h"
struct PciDeviceAttachment::Data
{
{
}
};
// constructor / destructor
/////////////////////////////////////////////////////////////////////////////
{
LogFlowThisFunc(("\n"));
return S_OK;
}
void PciDeviceAttachment::FinalRelease()
{
LogFlowThisFunc(("\n"));
uninit();
}
// public initializer/uninitializer for internal purposes only
/////////////////////////////////////////////////////////////////////////////
{
}
/**
* Uninitializes the instance.
* Called from FinalRelease().
*/
void PciDeviceAttachment::uninit()
{
if (m)
{
delete m;
m = NULL;
}
}
// IPciDeviceAttachment properties
/////////////////////////////////////////////////////////////////////////////
{
return S_OK;
}
{
return S_OK;
}
{
*aHostAddress = m->HostAddress;
return S_OK;
}
{
*aGuestAddress = m->GuestAddress;
return S_OK;
}
#ifdef VBOX_WITH_XPCOM
#endif