VirtualBox

Ignore:
Timestamp:
Feb 27, 2014 8:21:45 PM (11 years ago)
Author:
vboxsync
Message:

RTMpGetDescription: Made it accept NIL_RTCPUID as indicating the current cpu.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/generic/RTMpGetDescription-generic.cpp

    r46633 r50641  
    55
    66/*
    7  * Copyright (C) 2009-2010 Oracle Corporation
     7 * Copyright (C) 2009-2014 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    6060     * Check that the specified cpu is valid & online.
    6161     */
    62     if (!RTMpIsCpuOnline(idCpu))
     62    if (idCpu != NIL_RTCPUID && !RTMpIsCpuOnline(idCpu))
    6363        return RTMpIsCpuPossible(idCpu)
    6464             ? VERR_CPU_OFFLINE
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette