tstVBInsTstR3.cpp revision 270236340676d2385b27ea992e07fcb643bb78b6
/* $Id$ */
/** @file
* Instruction Test Environment - IPRT ring-3 driver.
*/
/*
* Copyright (C) 2006-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.
*/
/*******************************************************************************
* Header Files *
*******************************************************************************/
#ifdef RT_OS_WINDOWS
# define NO_LOW_MEM
# define NO_LOW_MEM
#else
#endif
/*******************************************************************************
* Structures and Typedefs *
*******************************************************************************/
#if HC_ARCH_BITS == 64
typedef uint64_t VBINSTSTREG;
#else
typedef uint32_t VBINSTSTREG;
#endif
/*******************************************************************************
* Global Variables *
*******************************************************************************/
extern void *g_pvLowMem4K;
DECLASM(void) TestInstrMain(void);
DECLEXPORT(void) VBInsTstFailure3(const char *pszFmt, VBINSTSTREG uArg1, VBINSTSTREG uArg2, VBINSTSTREG uArg3);
DECLEXPORT(void) VBInsTstFailure4(const char *pszFmt, VBINSTSTREG uArg1, VBINSTSTREG uArg2, VBINSTSTREG uArg3, VBINSTSTREG uArg4);
{
}
{
}
{
}
DECLEXPORT(void) VBInsTstFailure3(const char *pszFmt, VBINSTSTREG uArg1, VBINSTSTREG uArg2, VBINSTSTREG uArg3)
{
}
DECLEXPORT(void) VBInsTstFailure4(const char *pszFmt, VBINSTSTREG uArg1, VBINSTSTREG uArg2, VBINSTSTREG uArg3, VBINSTSTREG uArg4)
{
}
int main()
{
if (rcExit != RTEXITCODE_SUCCESS)
return rcExit;
if (RT_FAILURE(rc))
{
g_pvLowMem4K = NULL;
}
return RTTestSummaryAndDestroy(g_hTest);
}