- Timestamp:
- Dec 15, 2021 5:10:24 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/VirtIO/VirtioCore.cpp
r92943 r92945 144 144 static int virtioNudgeGuest(PPDMDEVINS pDevIns, PVIRTIOCORE pVirtio, uint8_t uCause, uint16_t uVec); 145 145 146 #ifdef LOG_ENABLED 146 #ifdef IN_RING3 147 # ifdef LOG_ENABLED 147 148 DECLINLINE(uint16_t) virtioCoreR3CountPendingBufs(uint16_t uRingIdx, uint16_t uShadowIdx, uint16_t uQueueSize) 148 149 { … … 154 155 return uQueueSize - (uRingIdx - uShadowIdx); 155 156 } 156 # endif157 157 # endif 158 #endif 158 159 /** @name Internal queue operations 159 160 * @{ */ … … 1014 1015 Log6Func((" Copying device data to %s, [desc chain head idx:%u]\n", 1015 1016 VIRTQNAME(pVirtio, uVirtq), pVirtqBuf->uHeadIdx)); 1016 1017 1017 /* 1018 1018 * Convert virtual memory simple buffer to guest physical memory (VirtIO descriptor chain) … … 2078 2078 AssertRCReturn(rc, rc); 2079 2079 2080 uint32_t cQueues = 3; /* Th es constant default value copied from earliest v0.9 code */2080 uint32_t cQueues = 3; /* This constant default value copied from earliest v0.9 code */ 2081 2081 if (uVersion > uVirtioLegacy_3_1_Beta) 2082 2082 {
Note:
See TracChangeset
for help on using the changeset viewer.