Changeset 20668 in vbox
- Timestamp:
- Jun 17, 2009 1:46:05 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 48763
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/VBoxRecompiler.c
r20427 r20668 4159 4159 void cpu_set_apic_tpr(CPUX86State *env, uint8_t val) 4160 4160 { 4161 int rc = PDMApicSetTPR(env->pVCpu, val );4161 int rc = PDMApicSetTPR(env->pVCpu, val << 4); /* cr8 bits 3-0 correspond to bits 7-4 of the task priority mmio register. */ 4162 4162 LogFlow(("cpu_set_apic_tpr: val=%#x rc=%Rrc\n", val, rc)); NOREF(rc); 4163 4163 } … … 4170 4170 { 4171 4171 LogFlow(("cpu_get_apic_tpr: returns %#x\n", u8)); 4172 return u8 ;4172 return u8 >> 4; /* cr8 bits 3-0 correspond to bits 7-4 of the task priority mmio register. */ 4173 4173 } 4174 4174 LogFlow(("cpu_get_apic_tpr: returns 0 (rc=%Rrc)\n", rc));
Note:
See TracChangeset
for help on using the changeset viewer.