Changeset 34020 in vbox
- Timestamp:
- Nov 12, 2010 9:12:09 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 67685
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/TRPMR0.cpp
r29250 r34020 78 78 PVBOXIDTE pIdte = &((PVBOXIDTE)Idtr.pIdt)[uActiveVector]; 79 79 # else 80 PVBOXIDTE pIdte = &((PVBOXIDTE)Idtr.pIdt)[uActiveVector * 2];80 PVBOXIDTE64 pIdte = &((PVBOXIDTE64)Idtr.pIdt)[uActiveVector]; 81 81 # endif 82 82 AssertMsgReturnVoid(pIdte->Gen.u1Present, ("The IDT entry (%d) is not present!\n", uActiveVector)); … … 94 94 # else /* 64-bit: */ 95 95 RTFAR64 pfnHandler; 96 pfnHandler.off = VBOXIDTE_OFFSET(*pIdte); 97 pfnHandler.off |= (uint64_t)(*(uint32_t *)(pIdte + 1)) << 32; //cleanup! 96 pfnHandler.off = VBOXIDTE64_OFFSET(*pIdte); 98 97 pfnHandler.sel = pIdte->Gen.u16SegSel; 99 98 100 RTR0UINTREG uRSP = ~(RTR0UINTREG)0;101 if (pIdte-> au32[1] & 0x7 /*IST*/)99 const RTR0UINTREG uRSP = ~(RTR0UINTREG)0; 100 if (pIdte->Gen.u3Ist) 102 101 { 103 102 trpmR0DispatchHostInterruptSimple(uActiveVector);
Note:
See TracChangeset
for help on using the changeset viewer.