tstContiguous.cpp revision 21db613fc981f8fb8ee82e35d7681fb534300174
/** @file
*
* VBox host drivers - Ring-0 support drivers - Testcases:
* Test contiguous memory
*/
/*
* Copyright (C) 2006 InnoTek Systemberatung GmbH
*
* 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 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.
*
* If you received this file as part of a commercial VirtualBox
* distribution, then only the terms of your commercial VirtualBox
* license agreement apply instead of the previous paragraph.
*/
/*******************************************************************************
* Header Files *
*******************************************************************************/
#include <stdlib.h>
#include <string.h>
{
int rc;
int rcRet = 0;
RTR3Init(false);
if (!rc)
{
/*
* Allocate a bit of contiguous memory.
*/
{
{
if (rc)
}
else
RTPrintf("tstContiguous: SUPContAlloc (2nd) failed!\n");
}
else
RTPrintf("tstContiguous: SUPContAlloc failed!\n");
}
return rcRet;
}