VirtualBox

vbox的更動 13751 路徑 trunk/include


忽略:
時間撮記:
2008-11-3 下午02:53:11 (16 年 以前)
作者:
vboxsync
訊息:

UVM updates

位置:
trunk/include/VBox
檔案:
修改 2 筆資料

圖例:

未更動
新增
刪除
  • trunk/include/VBox/uvm.h

    r8155 r13751  
    3535
    3636#include <VBox/types.h>
     37
     38/**
     39 * Per virtual CPU ring-3 (user mode) data.
     40 */
     41typedef struct UVMCPU
     42{
     43    uint32_t     uFiller;
     44} UVMCPU;
    3745
    3846/**
     
    94102    } stam;
    95103
     104    /* Per virtual CPU data. */
     105    UVMCPU                      aCpu[1];
    96106} UVM;
    97107
  • trunk/include/VBox/vm.h

    r13749 r13751  
    9393    PVMRC                   pVMRC;
    9494    /** The CPU ID.
    95      * This is the index into the VM::aCpus array. */
     95     * This is the index into the VM::aCpu array. */
    9696    VMCPUID                 idCpu;
    9797    /** The ring-3 thread handle of the emulation thread for this CPU.
     
    283283 */
    284284#ifdef VBOX_WITH_SMP_GUESTS
    285 # define VMCPU_FF_SET(pVM, idCpu, fFlag)    ASMAtomicOrU32(&(pVM)->aCpus[idCpu].fForcedActions, (fFlag))
     285# define VMCPU_FF_SET(pVM, idCpu, fFlag)    ASMAtomicOrU32(&(pVM)->aCpu[idCpu].fForcedActions, (fFlag))
    286286#else
    287287# define VMCPU_FF_SET(pVM, idCpu, fFlag)    VM_FF_SET(pVM, fFlag)
     
    311311 */
    312312#ifdef VBOX_WITH_SMP_GUESTS
    313 # define VMCPU_FF_CLEAR(pVM, idCpu, fFlag)  ASMAtomicAndU32(&(pVM)->aCpus[idCpu].fForcedActions, ~(fFlag))
     313# define VMCPU_FF_CLEAR(pVM, idCpu, fFlag)  ASMAtomicAndU32(&(pVM)->aCpu[idCpu].fForcedActions, ~(fFlag))
    314314#else
    315315# define VMCPU_FF_CLEAR(pVM, idCpu, fFlag)  VM_FF_CLEAR(pVM, fFlag)
     
    332332 */
    333333#ifdef VBOX_WITH_SMP_GUESTS
    334 # define VMCPU_FF_ISSET(pVM, idCpu, fFlag)  (((pVM)->aCpus[idCpu].fForcedActions & (fFlag)) == (fFlag))
     334# define VMCPU_FF_ISSET(pVM, idCpu, fFlag)  (((pVM)->aCpu[idCpu].fForcedActions & (fFlag)) == (fFlag))
    335335#else
    336336# define VMCPU_FF_ISSET(pVM, idCpu, fFlag)  VM_FF_ISSET(pVM, fFlag)
     
    353353 */
    354354#ifdef VBOX_WITH_SMP_GUESTS
    355 # define VMCPU_FF_ISPENDING(pVM, idCpu, fFlags) ((pVM)->aCpus[idCpu].fForcedActions & (fFlags))
     355# define VMCPU_FF_ISPENDING(pVM, idCpu, fFlags) ((pVM)->aCpu[idCpu].fForcedActions & (fFlags))
    356356#else
    357357# define VMCPU_FF_ISPENDING(pVM, idCpu, fFlags) VM_FF_ISPENDING(pVM, fFlags)
     
    775775
    776776    /** VMCPU array for the configured number of virtual CPUs. */
    777     VMCPU       aCpus[1];
     777    VMCPU       aCpu[1];
    778778} VM;
    779779
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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