Changeset 37410 in vbox for trunk/include/VBox/vmm
- Timestamp:
- Jun 10, 2011 3:11:40 PM (14 years ago)
- Location:
- trunk/include/VBox/vmm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmdev.h
r35810 r37410 2708 2708 2709 2709 /** 2710 * Gets the trace buffer handle. 2711 * 2712 * This is used by the macros found in VBox/vmm/dbgftrace.h and is not 2713 * really inteded for direct usage, thus no inline wrapper function. 2714 * 2715 * @returns Trace buffer handle or NIL_RTTRACEBUF. 2716 * @param pDevIns The device instance. 2717 */ 2718 DECLR3CALLBACKMEMBER(RTTRACEBUF, pfnDBGFTraceBuf,(PPDMDEVINS pDevIns)); 2719 2720 /** 2710 2721 * Registers a statistics sample if statistics are enabled. 2711 2722 * … … 3558 3569 DECLRCCALLBACKMEMBER(uint64_t, pfnTMTimeVirtGetNano,(PPDMDEVINS pDevIns)); 3559 3570 3571 /** 3572 * Gets the trace buffer handle. 3573 * 3574 * This is used by the macros found in VBox/vmm/dbgftrace.h and is not 3575 * really inteded for direct usage, thus no inline wrapper function. 3576 * 3577 * @returns Trace buffer handle or NIL_RTTRACEBUF. 3578 * @param pDevIns The device instance. 3579 */ 3580 DECLRCCALLBACKMEMBER(RTTRACEBUF, pfnDBGFTraceBuf,(PPDMDEVINS pDevIns)); 3581 3560 3582 /** Just a safety precaution. */ 3561 3583 uint32_t u32TheEnd; … … 3745 3767 */ 3746 3768 DECLR0CALLBACKMEMBER(uint64_t, pfnTMTimeVirtGetNano,(PPDMDEVINS pDevIns)); 3769 3770 /** 3771 * Gets the trace buffer handle. 3772 * 3773 * This is used by the macros found in VBox/vmm/dbgftrace.h and is not 3774 * really inteded for direct usage, thus no inline wrapper function. 3775 * 3776 * @returns Trace buffer handle or NIL_RTTRACEBUF. 3777 * @param pDevIns The device instance. 3778 */ 3779 DECLR0CALLBACKMEMBER(RTTRACEBUF, pfnDBGFTraceBuf,(PPDMDEVINS pDevIns)); 3747 3780 3748 3781 /** Just a safety precaution. */ -
trunk/include/VBox/vmm/vm.h
r37362 r37410 4 4 5 5 /* 6 * Copyright (C) 2006-201 0Oracle Corporation6 * Copyright (C) 2006-2011 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 850 850 /** @} */ 851 851 852 853 /* padding to make gnuc put the StatQemuToGC where msc does. */ 854 #if HC_ARCH_BITS == 32 855 uint32_t padding0; 856 #endif 857 852 /** @name Debugging 853 * @{ */ 854 /** Raw-mode Context VM Pointer. */ 855 RCPTRTYPE(RTTRACEBUF) hTraceBufRC; 856 /** Alignment padding */ 857 uint32_t uPadding3; 858 /** Ring-3 Host Context VM Pointer. */ 859 R3PTRTYPE(RTTRACEBUF) hTraceBufR3; 860 /** Ring-0 Host Context VM Pointer. */ 861 R0PTRTYPE(RTTRACEBUF) hTraceBufR0; 862 /** @} */ 863 864 /** @name Switcher statistics (remove) 865 * @{ */ 858 866 /** Profiling the total time from Qemu to GC. */ 859 867 STAMPROFILEADV StatTotalQemuToGC; … … 879 887 STAMPROFILEADV StatSwitcherLldt; 880 888 STAMPROFILEADV StatSwitcherTSS; 881 889 /** @} */ 890 891 #if HC_ARCH_BITS != 64 882 892 /** Padding - the unions must be aligned on a 64 bytes boundary and the unions 883 893 * must start at the same offset on both 64-bit and 32-bit hosts. */ 884 uint8_t abAlignment1[HC_ARCH_BITS == 32 ? 48 : 24]; 894 uint8_t abAlignment1[HC_ARCH_BITS == 32 ? 36 : 0]; 895 #endif 885 896 886 897 /** CPUM part. */ … … 1085 1096 1086 1097 #endif 1098 -
trunk/include/VBox/vmm/vm.mac
r35361 r37410 4 4 5 5 ; 6 ; Copyright (C) 2006-201 0Oracle Corporation6 ; Copyright (C) 2006-2011 Oracle Corporation 7 7 ; 8 8 ; This file is part of VirtualBox Open Source Edition (OSE), as … … 24 24 ; 25 25 26 %ifndef ___VBox_vmm_vm_mac __27 %define ___VBox_vmm_vm_mac __26 %ifndef ___VBox_vmm_vm_mac 27 %define ___VBox_vmm_vm_mac 28 28 29 29 %include "VBox/vmm/stam.mac" … … 73 73 .fUseLargePages resb 1 74 74 75 .hTraceBufRC RTRCPTR_RES 1 76 .uPadding3 resd 1 77 .hTraceBufR3 RTR3PTR_RES 1 78 .hTraceBufR0 RTR0PTR_RES 1 79 75 80 alignb 8 76 81 … … 99 104 .abAlignment1 resb 48 100 105 %else 101 .abAlignment1 resb 24 106 ; .abAlignment1 resb 0 102 107 %endif 103 108 … … 136 141 137 142 %endif 143
Note:
See TracChangeset
for help on using the changeset viewer.