mpnotification-r0drv-generic.cpp revision 412ad5bac323727b4073056113e1d8e0faf60db3
1d2154cff09d431181caed9114304c11bb7374c9vboxsync/* $Id$ */
1d2154cff09d431181caed9114304c11bb7374c9vboxsync/** @file
1d2154cff09d431181caed9114304c11bb7374c9vboxsync * IPRT - Multiprocessor Notifications, Ring-0 Driver, Generic Stubs.
1d2154cff09d431181caed9114304c11bb7374c9vboxsync */
1d2154cff09d431181caed9114304c11bb7374c9vboxsync
1d2154cff09d431181caed9114304c11bb7374c9vboxsync/*
1d2154cff09d431181caed9114304c11bb7374c9vboxsync * Copyright (C) 2008 Sun Microsystems, Inc.
1d2154cff09d431181caed9114304c11bb7374c9vboxsync *
1d2154cff09d431181caed9114304c11bb7374c9vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
1d2154cff09d431181caed9114304c11bb7374c9vboxsync * available from http://www.virtualbox.org. This file is free software;
1d2154cff09d431181caed9114304c11bb7374c9vboxsync * you can redistribute it and/or modify it under the terms of the GNU
1d2154cff09d431181caed9114304c11bb7374c9vboxsync * General Public License (GPL) as published by the Free Software
1d2154cff09d431181caed9114304c11bb7374c9vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
1d2154cff09d431181caed9114304c11bb7374c9vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
1d2154cff09d431181caed9114304c11bb7374c9vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
1d2154cff09d431181caed9114304c11bb7374c9vboxsync *
1d2154cff09d431181caed9114304c11bb7374c9vboxsync * The contents of this file may alternatively be used under the terms
1d2154cff09d431181caed9114304c11bb7374c9vboxsync * of the Common Development and Distribution License Version 1.0
1d2154cff09d431181caed9114304c11bb7374c9vboxsync * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
1d2154cff09d431181caed9114304c11bb7374c9vboxsync * VirtualBox OSE distribution, in which case the provisions of the
1d2154cff09d431181caed9114304c11bb7374c9vboxsync * CDDL are applicable instead of those of the GPL.
1d2154cff09d431181caed9114304c11bb7374c9vboxsync *
1d2154cff09d431181caed9114304c11bb7374c9vboxsync * You may elect to license modified versions of this file under the
1d2154cff09d431181caed9114304c11bb7374c9vboxsync * terms and conditions of either the GPL or the CDDL or both.
1d2154cff09d431181caed9114304c11bb7374c9vboxsync *
1d2154cff09d431181caed9114304c11bb7374c9vboxsync * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
1d2154cff09d431181caed9114304c11bb7374c9vboxsync * Clara, CA 95054 USA or visit http://www.sun.com if you need
1d2154cff09d431181caed9114304c11bb7374c9vboxsync * additional information or have any questions.
1d2154cff09d431181caed9114304c11bb7374c9vboxsync */
1d2154cff09d431181caed9114304c11bb7374c9vboxsync
1d2154cff09d431181caed9114304c11bb7374c9vboxsync/*******************************************************************************
1d2154cff09d431181caed9114304c11bb7374c9vboxsync* Header Files *
c4ccc0915f8ac8c1d8eb0565a17043dda0a666ddvboxsync*******************************************************************************/
1d2154cff09d431181caed9114304c11bb7374c9vboxsync#include <iprt/mp.h>
c4ccc0915f8ac8c1d8eb0565a17043dda0a666ddvboxsync#include <iprt/err.h>
c4ccc0915f8ac8c1d8eb0565a17043dda0a666ddvboxsync
1d2154cff09d431181caed9114304c11bb7374c9vboxsync
1d2154cff09d431181caed9114304c11bb7374c9vboxsyncRTDECL(int) RTMpNotificationRegister(PFNRTMPNOTIFICATION pfnCallback, void *pvUser)
1d2154cff09d431181caed9114304c11bb7374c9vboxsync{
1d2154cff09d431181caed9114304c11bb7374c9vboxsync NOREF(pfnCallback);
1d2154cff09d431181caed9114304c11bb7374c9vboxsync NOREF(pvUser);
1d2154cff09d431181caed9114304c11bb7374c9vboxsync return VINF_SUCCESS;
c4ccc0915f8ac8c1d8eb0565a17043dda0a666ddvboxsync}
1d2154cff09d431181caed9114304c11bb7374c9vboxsync
c4ccc0915f8ac8c1d8eb0565a17043dda0a666ddvboxsync
c4ccc0915f8ac8c1d8eb0565a17043dda0a666ddvboxsyncRTDECL(int) RTMpNotificationDeregister(PFNRTMPNOTIFICATION pfnCallback, void *pvUser)
c4ccc0915f8ac8c1d8eb0565a17043dda0a666ddvboxsync{
1d2154cff09d431181caed9114304c11bb7374c9vboxsync NOREF(pfnCallback);
1d2154cff09d431181caed9114304c11bb7374c9vboxsync NOREF(pvUser);
1d2154cff09d431181caed9114304c11bb7374c9vboxsync return VINF_SUCCESS;
1d2154cff09d431181caed9114304c11bb7374c9vboxsync}
RTR0DECL(int) RTR0MpNotificationInit(void *pvOS)
{
NOREF(pvOS);
return VINF_SUCCESS;
}
RTR0DECL(void) RTR0MpNotificationTerm(void *pvOS)
{
NOREF(pvOS);
}