869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync/* $Id$ */
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync/** @file
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync * IPRT R0 Testcase - User & Kernel Memory, common header.
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync */
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync/*
c7814cf6e1240a519cbec0441e033d0e2470ed00vboxsync * Copyright (C) 2009-2010 Oracle Corporation
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync *
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync * available from http://www.virtualbox.org. This file is free software;
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync * you can redistribute it and/or modify it under the terms of the GNU
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync * General Public License (GPL) as published by the Free Software
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync *
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync * The contents of this file may alternatively be used under the terms
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync * of the Common Development and Distribution License Version 1.0
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync * VirtualBox OSE distribution, in which case the provisions of the
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync * CDDL are applicable instead of those of the GPL.
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync *
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync * You may elect to license modified versions of this file under the
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync * terms and conditions of either the GPL or the CDDL or both.
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync */
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync#ifdef IN_RING0
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsyncRT_C_DECLS_BEGIN
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsyncDECLEXPORT(int) TSTRTR0MemUserKernelSrvReqHandler(PSUPDRVSESSION pSession, uint32_t uOperation,
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync uint64_t u64Arg, PSUPR0SERVICEREQHDR pReqHdr);
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsyncRT_C_DECLS_END
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync#endif
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsynctypedef enum TSTRTR0MEMUSERKERNEL
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync{
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync TSTRTR0MEMUSERKERNEL_SANITY_OK = 1,
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync TSTRTR0MEMUSERKERNEL_SANITY_FAILURE,
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync TSTRTR0MEMUSERKERNEL_BASIC,
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync TSTRTR0MEMUSERKERNEL_GOOD,
d29cd77c0c34ed75403a2a1253acfbf740031f5avboxsync TSTRTR0MEMUSERKERNEL_BAD,
d29cd77c0c34ed75403a2a1253acfbf740031f5avboxsync TSTRTR0MEMUSERKERNEL_INVALID_ADDRESS
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync} TSTRTR0MEMUSERKERNEL;
869b794c99265c9cddca7d7dcaa622cbefedeac7vboxsync