Changeset 20666 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Jun 17, 2009 1:01:56 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/EMAll.cpp
r20588 r20666 1995 1995 rc = PDMApicGetTPR(pVCpu, (uint8_t *)&val64, NULL); 1996 1996 AssertMsgRCReturn(rc, ("PDMApicGetTPR failed\n"), VERR_EM_INTERPRETER); 1997 val64 >>= 4; /* bits 7-4 contain the task priority that go in cr8, bits 3-0*/ 1997 1998 } 1998 1999 else … … 2170 2171 2171 2172 case USE_REG_CR8: 2172 return PDMApicSetTPR(pVCpu, val );2173 return PDMApicSetTPR(pVCpu, val << 4); /* cr8 bits 3-0 correspond to bits 7-4 of the task priority mmio register. */ 2173 2174 2174 2175 default:
Note:
See TracChangeset
for help on using the changeset viewer.