Changeset 32820 in vbox for trunk/src/VBox/Devices/PC
- Timestamp:
- Sep 29, 2010 4:25:16 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevAPIC.cpp
r32779 r32820 1449 1449 index = (addr >> 4) & 0xff; 1450 1450 1451 if (addr > 0xfff || (index == 0)) 1452 { 1453 /* MSR area read, undefined result by spec */ 1454 Log(("APIC: MSR area read: %x\n", index)); 1455 return 0; 1456 } 1457 1451 1458 switch(index) { 1452 1459 case 0x02: /* id */ … … 1523 1530 return val; 1524 1531 } 1525 1532 /** 1533 * See chapter 10.11 MESSAGE SIGNALLED INTERRUPTS of IA-32 Intel Architecture 1534 * Software Developer’s Manual, Volume 3A: System Programming Guide, Part 1 1535 * for details on MSI and LAPIC interaction. 1536 */ 1526 1537 static int apicSendMsi(APICDeviceInfo* dev, RTGCPHYS addr, uint32_t val) 1527 1538 { … … 1531 1542 uint8_t trigger_mode = (val >> VBOX_MSI_DATA_TRIGGER_SHIFT) & 0x1; 1532 1543 uint8_t delivery_mode = (val >> VBOX_MSI_DATA_DELIVERY_MODE_SHIFT) & 0x7; 1533 1544 /** 1545 * This bit indicates whether the message should be directed to the 1546 * processor with the lowest interrupt priority among 1547 * processors that can receive the interrupt, ignored ATM. 1548 */ 1549 uint8_t redir_hint = (addr >> VBOX_MSI_ADDR_REDIRECTION_SHIFT) & 0x1; 1534 1550 uint32_t deliver_bitmask = apic_get_delivery_bitmask(dev, dest, dest_mode); 1535 1551
Note:
See TracChangeset
for help on using the changeset viewer.