Changeset 13519 in vbox for trunk/src/VBox/Devices/PC/DevAPIC.cpp
- Timestamp:
- Oct 23, 2008 8:58:37 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevAPIC.cpp
r13078 r13519 422 422 uint8_t u8DeliveryMode, uint8_t iVector, uint8_t u8Polarity, 423 423 uint8_t u8TriggerMode); 424 PDMBOTHCBDECL( uint32_t)apicWriteMSR(PPDMDEVINS pDevIns, VMCPUID iCpu, uint32_t u32Reg, uint64_t u64Value);425 PDMBOTHCBDECL( uint32_t)apicReadMSR(PPDMDEVINS pDevIns, VMCPUID iCpu, uint32_t u32Reg, uint64_t *pu64Value);424 PDMBOTHCBDECL(int) apicWriteMSR(PPDMDEVINS pDevIns, VMCPUID iCpu, uint32_t u32Reg, uint64_t u64Value); 425 PDMBOTHCBDECL(int) apicReadMSR(PPDMDEVINS pDevIns, VMCPUID iCpu, uint32_t u32Reg, uint64_t *pu64Value); 426 426 PDMBOTHCBDECL(int) ioapicMMIORead(PPDMDEVINS pDevIns, void *pvUser, RTGCPHYS GCPhysAddr, void *pv, unsigned cb); 427 427 PDMBOTHCBDECL(int) ioapicMMIOWrite(PPDMDEVINS pDevIns, void *pvUser, RTGCPHYS GCPhysAddr, void *pv, unsigned cb); … … 657 657 } 658 658 659 PDMBOTHCBDECL( uint32_t) apicWriteMSR(PPDMDEVINS pDevIns, VMCPUID idCpu, uint32_t u32Reg, uint64_t u64Value)659 PDMBOTHCBDECL(int) apicWriteMSR(PPDMDEVINS pDevIns, VMCPUID idCpu, uint32_t u32Reg, uint64_t u64Value) 660 660 { 661 661 APICDeviceInfo *dev = PDMINS_2_DATA(pDevIns, APICDeviceInfo *); … … 754 754 return VINF_SUCCESS; 755 755 } 756 PDMBOTHCBDECL( uint32_t) apicReadMSR(PPDMDEVINS pDevIns, VMCPUID idCpu, uint32_t u32Reg, uint64_t *pu64Value)756 PDMBOTHCBDECL(int) apicReadMSR(PPDMDEVINS pDevIns, VMCPUID idCpu, uint32_t u32Reg, uint64_t *pu64Value) 757 757 { 758 758 APICDeviceInfo *dev = PDMINS_2_DATA(pDevIns, APICDeviceInfo *);
Note:
See TracChangeset
for help on using the changeset viewer.