tstVMStructGC.cpp revision fa68b6ad102b983736f554a673bb2ee4259ee699
/* $Id$ */
/** @file
* tstVMMStructGC - Generate structure member and size checks from the GC perspective.
*
* This is built using the VBOXGC template but linked into a host
* ring-3 executable, rather hacky.
*/
/*
* Copyright (C) 2006-2007 Sun Microsystems, Inc.
*
* 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.
*
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
* Clara, CA 95054 USA or visit http://www.sun.com if you need
* additional information or have any questions.
*/
/*
* Sanity checks.
*/
#ifndef IN_RC
#endif
#endif
#ifdef VBOX_WITH_64_BITS_GUESTS
#else
#endif
/*******************************************************************************
* Header Files *
*******************************************************************************/
#include "../PDMInternal.h"
#include "../CFGMInternal.h"
#include "../CPUMInternal.h"
#include "../MMInternal.h"
#include "../PGMInternal.h"
#include "../SELMInternal.h"
#include "../TRPMInternal.h"
#include "../TMInternal.h"
#include "../IOMInternal.h"
#include "../REMInternal.h"
#include "../HWACCMInternal.h"
#include "../PATM/PATMInternal.h"
#include "../VMMInternal.h"
#include "../DBGFInternal.h"
#include "../STAMInternal.h"
#include "../PATM/CSAMInternal.h"
#include "../EMInternal.h"
#include "../REMInternal.h"
/* we don't use iprt here because we're pretending to be in GC! */
#include <stdio.h>
#define GEN_CHECK_OFF(s, m) printf(" CHECK_OFF(%s, %u, %s);\n", #s, (unsigned)RT_OFFSETOF(s, m), #m)
int main()
{
#ifndef VBOX_WITH_2X_4GB_ADDR_SPACE
#endif
GEN_CHECK_OFF(PDMQUEUE, u);
#ifdef VBOX_WITH_2X_4GB_ADDR_SPACE
#endif
#ifndef VBOX_WITH_2X_4GB_ADDR_SPACE
#endif
#ifndef VBOX_WITH_2X_4GB_ADDR_SPACE
#endif
#ifndef VBOX_WITH_2X_4GB_ADDR_SPACE
#endif
#ifdef VBOX_WITH_STATISTICS
#endif
#ifdef PGMPOOL_WITH_USER_TRACKING
#endif
#ifdef PGMPOOL_WITH_MONITORING
#endif
#ifdef PGMPOOL_WITH_CACHE
#endif
#ifdef PGMPOOL_WITH_USER_TRACKING
#endif /* PGMPOOL_WITH_USER_TRACKING */
#ifdef PGMPOOL_WITH_GCPHYS_TRACKING
#endif
#ifdef PGMPOOL_WITH_CACHE
#endif
#ifdef PGMPOOL_WITH_MONITORING
#endif
#ifdef VBOX_WITH_STATISTICS
#endif
//GEN_CHECK_OFF(TM, pvGIPR0);
return (0);
}