mp-r0drv-solaris.c revision 68378de8b29039c7435f5eb9a7a50622c2fd15e1
5e0e6ddc03446ac4815f72ce90095e422f593d1dvboxsync * IPRT - Multiprocessor, Ring-0 Driver, Solaris.
5e0e6ddc03446ac4815f72ce90095e422f593d1dvboxsync * Copyright (C) 2008 Sun Microsystems, Inc.
5e0e6ddc03446ac4815f72ce90095e422f593d1dvboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
5e0e6ddc03446ac4815f72ce90095e422f593d1dvboxsync * available from http://www.virtualbox.org. This file is free software;
5e0e6ddc03446ac4815f72ce90095e422f593d1dvboxsync * you can redistribute it and/or modify it under the terms of the GNU
5e0e6ddc03446ac4815f72ce90095e422f593d1dvboxsync * General Public License (GPL) as published by the Free Software
5e0e6ddc03446ac4815f72ce90095e422f593d1dvboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
5e0e6ddc03446ac4815f72ce90095e422f593d1dvboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
5e0e6ddc03446ac4815f72ce90095e422f593d1dvboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
5e0e6ddc03446ac4815f72ce90095e422f593d1dvboxsync * The contents of this file may alternatively be used under the terms
5e0e6ddc03446ac4815f72ce90095e422f593d1dvboxsync * of the Common Development and Distribution License Version 1.0
5e0e6ddc03446ac4815f72ce90095e422f593d1dvboxsync * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
5e0e6ddc03446ac4815f72ce90095e422f593d1dvboxsync * VirtualBox OSE distribution, in which case the provisions of the
c61003e1d0a0c20a7b6a1852268e57bc77df0fbavboxsync * CDDL are applicable instead of those of the GPL.
c61003e1d0a0c20a7b6a1852268e57bc77df0fbavboxsync * You may elect to license modified versions of this file under the
5e0e6ddc03446ac4815f72ce90095e422f593d1dvboxsync * terms and conditions of either the GPL or the CDDL or both.
5e0e6ddc03446ac4815f72ce90095e422f593d1dvboxsync * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
5e0e6ddc03446ac4815f72ce90095e422f593d1dvboxsync * Clara, CA 95054 USA or visit http://www.sun.com if you need
5e0e6ddc03446ac4815f72ce90095e422f593d1dvboxsync * additional information or have any questions.
5e0e6ddc03446ac4815f72ce90095e422f593d1dvboxsync/*******************************************************************************
5e0e6ddc03446ac4815f72ce90095e422f593d1dvboxsync* Header Files *
5e0e6ddc03446ac4815f72ce90095e422f593d1dvboxsync*******************************************************************************/
#include "the-solaris-kernel.h"
#include "r0drv/mp-r0drv.h"
} while (idCpu-- > 0);
return pSet;
return ncpus;
return pCpu
} while (idCpu-- > 0);
return pSet;
return ncpus_online;
return VINF_SUCCESS;
int rc;
return VINF_SUCCESS;
int rc;
return VERR_CPU_NOT_FOUND;