Changeset 1327 in vbox
- Timestamp:
- Mar 8, 2007 12:23:15 PM (18 years ago)
- Location:
- trunk/src/VBox/VMM/VMMGC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMGC/SELMGC.cpp
r62 r1327 45 45 * Synchronizes one GDT entry (guest -> shadow). 46 46 * 47 * @returns VBox status code (appropri tate for trap handling and GC return).47 * @returns VBox status code (appropriate for trap handling and GC return). 48 48 * @param pVM VM Handle. 49 49 * @param pRegFrame Trap register frame. … … 153 153 * \#PF Virtual Handler callback for Guest write access to the Guest's own GDT. 154 154 * 155 * @returns VBox status code (appropri tate for trap handling and GC return).155 * @returns VBox status code (appropriate for trap handling and GC return). 156 156 * @param pVM VM Handle. 157 157 * @param uErrorCode CPU Error code. … … 226 226 * \#PF Virtual Handler callback for Guest write access to the Guest's own LDT. 227 227 * 228 * @returns VBox status code (appropri tate for trap handling and GC return).228 * @returns VBox status code (appropriate for trap handling and GC return). 229 229 * @param pVM VM Handle. 230 230 * @param uErrorCode CPU Error code. … … 249 249 * \#PF Virtual Handler callback for Guest write access to the Guest's own current TSS. 250 250 * 251 * @returns VBox status code (appropri tate for trap handling and GC return).251 * @returns VBox status code (appropriate for trap handling and GC return). 252 252 * @param pVM VM Handle. 253 253 * @param uErrorCode CPU Error code. … … 302 302 * \#PF Virtual Handler callback for Guest write access to the VBox shadow GDT. 303 303 * 304 * @returns VBox status code (appropri tate for trap handling and GC return).304 * @returns VBox status code (appropriate for trap handling and GC return). 305 305 * @param pVM VM Handle. 306 306 * @param uErrorCode CPU Error code. … … 320 320 * \#PF Virtual Handler callback for Guest write access to the VBox shadow LDT. 321 321 * 322 * @returns VBox status code (appropri tate for trap handling and GC return).322 * @returns VBox status code (appropriate for trap handling and GC return). 323 323 * @param pVM VM Handle. 324 324 * @param uErrorCode CPU Error code. … … 339 339 * \#PF Virtual Handler callback for Guest write access to the VBox shadow TSS. 340 340 * 341 * @returns VBox status code (appropri tate for trap handling and GC return).341 * @returns VBox status code (appropriate for trap handling and GC return). 342 342 * @param pVM VM Handle. 343 343 * @param uErrorCode CPU Error code. -
trunk/src/VBox/VMM/VMMGC/TRPMGC.cpp
r23 r1327 94 94 * \#PF Virtual Handler callback for Guest write access to the Guest's own current IDT. 95 95 * 96 * @returns VBox status code (appropri tate for trap handling and GC return).96 * @returns VBox status code (appropriate for trap handling and GC return). 97 97 * @param pVM VM Handle. 98 98 * @param uErrorCode CPU Error code. … … 105 105 TRPMGCDECL(int) trpmgcGuestIDTWriteHandler(PVM pVM, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame, void *pvFault, void *pvRange, uintptr_t offRange) 106 106 { 107 uint16_t cbIDT; 108 RTGCPTR GCPtrIDT = (RTGCPTR)CPUMGetGuestIDTR(pVM, &cbIDT); 109 #ifdef VBOX_STRICT 110 RTGCPTR GCPtrIDTEnd = (RTGCPTR)((RTGCUINTPTR)GCPtrIDT + cbIDT + 1); 111 uint32_t iTrap = ((RTGCUINTPTR)pvFault - (RTGCUINTPTR)GCPtrIDT)/sizeof(VBOXIDTE); 112 #endif 113 114 Assert(pvFault >= GCPtrIDT && pvFault < GCPtrIDTEnd); 115 Log(("trpmgcGuestIDTWriteHandler: write to gate %x\n", iTrap)); 116 107 117 ////LogCom(("trpmgcGuestIDTWriteHandler: eip=%08X pvFault=%08X pvRange=%08X\r\n", pRegFrame->eip, pvFault, pvRange)); 108 118 VM_FF_SET(pVM, VM_FF_TRPM_SYNC_IDT); … … 117 127 * \#PF Virtual Handler callback for Guest write access to the VBox shadow IDT. 118 128 * 119 * @returns VBox status code (appropri tate for trap handling and GC return).129 * @returns VBox status code (appropriate for trap handling and GC return). 120 130 * @param pVM VM Handle. 121 131 * @param uErrorCode CPU Error code.
Note:
See TracChangeset
for help on using the changeset viewer.