VirtualBox

Changeset 28954 in vbox for trunk


Ignore:
Timestamp:
May 2, 2010 7:30:18 AM (15 years ago)
Author:
vboxsync
Message:

APIC: x2APIC casts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevAPIC.cpp

    r28952 r28954  
    896896            break;
    897897        case 0x0d:
    898             val = apic->log_dest << 24;
     898            val = (uint64_t)apic->log_dest << 24;
    899899            break;
    900900        case 0x0e:
    901901            /* Bottom 28 bits are always 1 */
    902             val = (apic->dest_mode << 28) | 0xfffffff;
     902            val = ((uint64_t)apic->dest_mode << 28) | 0xfffffff;
    903903            break;
    904904        case 0x0f:
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette