Changeset 13013 in vbox for trunk/src/recompiler/VBoxRecompiler.c
- Timestamp:
- Oct 6, 2008 2:48:49 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/VBoxRecompiler.c
r12828 r13013 4087 4087 4088 4088 4089 uint64_t cpu_apic_rdmsr(CPUX86State *env, uint32_t reg) 4090 { 4091 uint64_t value; 4092 int rc = PDMApicRDMSR(env->pVM, 0/* cpu */, reg, &value); 4093 if (rc != VINF_SUCCESS) 4094 { 4095 /** @todo: exception ? */ 4096 value = 0; 4097 } 4098 return value; 4099 } 4100 4101 void cpu_apic_wrmsr(CPUX86State *env, uint32_t reg, uint64_t value) 4102 { 4103 int rc = PDMApicWRMSR(env->pVM, 0 /* cpu */, reg, value); 4104 if (rc != VINF_SUCCESS) 4105 { 4106 /** @todo: exception ? */ 4107 } 4108 } 4089 4109 /* -+- I/O Ports -+- */ 4090 4110
Note:
See TracChangeset
for help on using the changeset viewer.