VirtualBox

Changeset 12667 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Sep 23, 2008 11:25:46 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
36960
Message:

CPU id passed to interrupt callback, proper typing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/VMMAll.cpp

    r12573 r12667  
    6767 * @thread  EMT
    6868 */
    69 uint32_t VMMGetCpuId(PVM pVM)
     69VMCPUID VMMGetCpuId(PVM pVM)
    7070{
    71 #ifdef VBOX_WITH_GUEST_SMPT
     71#ifdef VBOX_WITH_SMP_GUESTS
     72    /* Only emulation thread(s) allowed to ask for CPU id */
     73    VM_ASSERT_EMT(pVM);
     74
    7275# if defined(IN_GC)
    7376    /* There is only one CPU if we're in GC. */
Note: See TracChangeset for help on using the changeset viewer.

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