VBoxPeCoffExtraActionLib.c revision 4136ffde6159b375ef0fe72f862f8b84bf9b2e8b
/* $Id$ */
/** @file
* VBox implementation of DebugAgentLib that reports EFI state transitions
* to DevEFI for debugging purposes.
*/
/*
* Copyright (C) 2013 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.
*
* The contents of this file may alternatively be used under the terms
* of the Common Development and Distribution License Version 1.0
* (CDDL) only, as it comes in the "COPYING.CDDL" file of the
* VirtualBox OSE distribution, in which case the provisions of the
* CDDL are applicable instead of those of the GPL.
*
* You may elect to license modified versions of this file under the
* terms and conditions of either the GPL or the CDDL or both.
*/
/*******************************************************************************
* Header Files *
*******************************************************************************/
#include <Base.h>
#include <Library/PeCoffExtraActionLib.h>
#include <Library/DebugLib.h>
#include "VBoxPkg.h"
#include "../../../../DevEFI.h"
{
RTUINT64U u; /* 64-bit shift builtins. */
u.u = uValue;
}
{
unsigned char uch;
}
{
if (pImageCtx->DestinationAddress)
else
if (pImageCtx->PdbPointer)
}
/* Note! Despite this saying relocate, it's always called immediately after
loading an image. So, treating it as a pure load event until we find
evidence of other usage. */
)
{
#if ARCH_BITS == 32
#else
#endif
}
)
{
#if ARCH_BITS == 32
#else
#endif
}