vbox的更動 13751 路徑 trunk/include
- 時間撮記:
- 2008-11-3 下午02:53:11 (16 年 以前)
- 位置:
- trunk/include/VBox
- 檔案:
-
- 修改 2 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/include/VBox/uvm.h
r8155 r13751 35 35 36 36 #include <VBox/types.h> 37 38 /** 39 * Per virtual CPU ring-3 (user mode) data. 40 */ 41 typedef struct UVMCPU 42 { 43 uint32_t uFiller; 44 } UVMCPU; 37 45 38 46 /** … … 94 102 } stam; 95 103 104 /* Per virtual CPU data. */ 105 UVMCPU aCpu[1]; 96 106 } UVM; 97 107 -
trunk/include/VBox/vm.h
r13749 r13751 93 93 PVMRC pVMRC; 94 94 /** The CPU ID. 95 * This is the index into the VM::aCpu sarray. */95 * This is the index into the VM::aCpu array. */ 96 96 VMCPUID idCpu; 97 97 /** The ring-3 thread handle of the emulation thread for this CPU. … … 283 283 */ 284 284 #ifdef VBOX_WITH_SMP_GUESTS 285 # define VMCPU_FF_SET(pVM, idCpu, fFlag) ASMAtomicOrU32(&(pVM)->aCpu s[idCpu].fForcedActions, (fFlag))285 # define VMCPU_FF_SET(pVM, idCpu, fFlag) ASMAtomicOrU32(&(pVM)->aCpu[idCpu].fForcedActions, (fFlag)) 286 286 #else 287 287 # define VMCPU_FF_SET(pVM, idCpu, fFlag) VM_FF_SET(pVM, fFlag) … … 311 311 */ 312 312 #ifdef VBOX_WITH_SMP_GUESTS 313 # define VMCPU_FF_CLEAR(pVM, idCpu, fFlag) ASMAtomicAndU32(&(pVM)->aCpu s[idCpu].fForcedActions, ~(fFlag))313 # define VMCPU_FF_CLEAR(pVM, idCpu, fFlag) ASMAtomicAndU32(&(pVM)->aCpu[idCpu].fForcedActions, ~(fFlag)) 314 314 #else 315 315 # define VMCPU_FF_CLEAR(pVM, idCpu, fFlag) VM_FF_CLEAR(pVM, fFlag) … … 332 332 */ 333 333 #ifdef VBOX_WITH_SMP_GUESTS 334 # define VMCPU_FF_ISSET(pVM, idCpu, fFlag) (((pVM)->aCpu s[idCpu].fForcedActions & (fFlag)) == (fFlag))334 # define VMCPU_FF_ISSET(pVM, idCpu, fFlag) (((pVM)->aCpu[idCpu].fForcedActions & (fFlag)) == (fFlag)) 335 335 #else 336 336 # define VMCPU_FF_ISSET(pVM, idCpu, fFlag) VM_FF_ISSET(pVM, fFlag) … … 353 353 */ 354 354 #ifdef VBOX_WITH_SMP_GUESTS 355 # define VMCPU_FF_ISPENDING(pVM, idCpu, fFlags) ((pVM)->aCpu s[idCpu].fForcedActions & (fFlags))355 # define VMCPU_FF_ISPENDING(pVM, idCpu, fFlags) ((pVM)->aCpu[idCpu].fForcedActions & (fFlags)) 356 356 #else 357 357 # define VMCPU_FF_ISPENDING(pVM, idCpu, fFlags) VM_FF_ISPENDING(pVM, fFlags) … … 775 775 776 776 /** VMCPU array for the configured number of virtual CPUs. */ 777 VMCPU aCpu s[1];777 VMCPU aCpu[1]; 778 778 } VM; 779 779
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器