Changeset 6260 in vbox for trunk/src/VBox/Devices/VMMDev
- Timestamp:
- Jan 7, 2008 11:30:01 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/VMMDev/VBoxDev.cpp
r6160 r6260 19 19 /* #define LOG_ENABLED */ 20 20 21 /* Enable dev_vmm Log3 statements to get IRQ-related logging. */ 22 21 23 #include <stdio.h> 22 24 #include <string.h> … … 152 154 PPDMDEVINS pDevIns = VMMDEVSTATE_2_DEVINS (pVMMDevState); 153 155 154 #ifdef DEBUG_sunlover 155 Log(("vmmdevMaybeSetIRQ_EMT: u32HostEventFlags = 0x%08X, u32GuestFilterMask = 0x%08X.\n", 156 Log3(("vmmdevMaybeSetIRQ_EMT: u32HostEventFlags = 0x%08X, u32GuestFilterMask = 0x%08X.\n", 156 157 pVMMDevState->u32HostEventFlags, pVMMDevState->u32GuestFilterMask)); 157 #endif /* DEBUG_sunlover */158 158 159 159 if (pVMMDevState->u32HostEventFlags & pVMMDevState->u32GuestFilterMask) … … 161 161 pVMMDevState->pVMMDevRAMHC->V.V1_04.fHaveEvents = true; 162 162 PDMDevHlpPCISetIrqNoWait (pDevIns, 0, 1); 163 #ifdef DEBUG_sunlover 164 Log(("vmmdevMaybeSetIRQ_EMT: IRQ set.\n")); 165 #endif /* DEBUG_sunlover */ 163 Log3(("vmmdevMaybeSetIRQ_EMT: IRQ set.\n")); 166 164 } 167 165 } … … 169 167 static void vmmdevNotifyGuest_EMT (VMMDevState *pVMMDevState, uint32_t u32EventMask) 170 168 { 171 #ifdef DEBUG_sunlover 172 Log(("VMMDevNotifyGuest_EMT: u32EventMask = 0x%08X.\n", u32EventMask)); 173 #endif /* DEBUG_sunlover */ 169 Log3(("VMMDevNotifyGuest_EMT: u32EventMask = 0x%08X.\n", u32EventMask)); 174 170 175 171 if (VBOX_GUEST_ADDITIONS_VERSION_1_03 (pVMMDevState)) 176 172 { 177 #ifdef DEBUG_sunlover 178 Log(("VMMDevNotifyGuest_EMT: Old additions detected.\n")); 179 #endif /* DEBUG_sunlover */ 173 Log3(("VMMDevNotifyGuest_EMT: Old additions detected.\n")); 180 174 181 175 pVMMDevState->u32HostEventFlags |= u32EventMask; … … 184 178 else 185 179 { 186 #ifdef DEBUG_sunlover 187 Log(("VMMDevNotifyGuest_EMT: New additions detected.\n")); 188 #endif /* DEBUG_sunlover */ 180 Log3(("VMMDevNotifyGuest_EMT: New additions detected.\n")); 189 181 190 182 if (!pVMMDevState->fu32AdditionsOk) … … 198 190 (pVMMDevState->u32HostEventFlags & pVMMDevState->u32GuestFilterMask) != 0; 199 191 200 #ifdef DEBUG_sunlover 201 Log(("VMMDevNotifyGuest_EMT: fHadEvents = %d, u32HostEventFlags = 0x%08X, u32GuestFilterMask = 0x%08X.\n", 192 Log3(("VMMDevNotifyGuest_EMT: fHadEvents = %d, u32HostEventFlags = 0x%08X, u32GuestFilterMask = 0x%08X.\n", 202 193 fHadEvents, pVMMDevState->u32HostEventFlags, pVMMDevState->u32GuestFilterMask)); 203 #endif /* DEBUG_sunlover */204 194 205 195 pVMMDevState->u32HostEventFlags |= u32EventMask; … … 268 258 PVMREQ pReq; 269 259 270 #ifdef DEBUG_sunlover 271 Log(("VMMDevNotifyGuest: u32EventMask = 0x%08X.\n", u32EventMask)); 272 #endif /* DEBUG_sunlover */ 260 Log3(("VMMDevNotifyGuest: u32EventMask = 0x%08X.\n", u32EventMask)); 273 261 274 262 rc = VMR3ReqCallVoid (pVM, &pReq, RT_INDEFINITE_WAIT, … … 1792 1780 } 1793 1781 1794 #ifdef DEBUG_sunlover 1795 Log(("vmmdevRequestDisplayChange: same=%d. new: xres=%d, yres=%d, bpp=%d, display=%d. old: xres=%d, yres=%d, bpp=%d, display=%d.\n", 1782 Log3(("vmmdevRequestDisplayChange: same=%d. new: xres=%d, yres=%d, bpp=%d, display=%d. old: xres=%d, yres=%d, bpp=%d, display=%d.\n", 1796 1783 fSameResolution, xres, yres, bpp, display, pData->lastReadDisplayChangeRequest.xres, pData->lastReadDisplayChangeRequest.yres, pData->lastReadDisplayChangeRequest.bpp, pData->lastReadDisplayChangeRequest.display)); 1797 #endif /* DEBUG_sunlover */1798 1784 1799 1785 if (!fSameResolution)
Note:
See TracChangeset
for help on using the changeset viewer.