VirtualBox

Ignore:
Timestamp:
Aug 26, 2008 7:37:36 AM (16 years ago)
Author:
vboxsync
Message:

another guest additions 32/64 bit hack

Location:
trunk/src/VBox/Additions/linux/module
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/module/hgcmcall.c

    r11629 r11642  
    147147            }
    148148            VBOXGUEST_HGCM_CALL_PARMS(hgcmR0)[i].u.Pointer.u.linearAddr
    149                 = (vmmDevHypPtr)&pu8PointerData[offPointerData];
     149                = (VMMDEVHYPPTR)&pu8PointerData[offPointerData];
    150150            VBOXGUEST_HGCM_CALL_PARMS(hgcmR0)[i].u.Pointer.size
    151151                = VBOXGUEST_HGCM_CALL_PARMS(hgcmR3)[i].u.Pointer.size;
     
    157157            /* This type of pointer means that we are reading data from the host. */
    158158            VBOXGUEST_HGCM_CALL_PARMS(hgcmR0)[i].u.Pointer.u.linearAddr
    159                 = (vmmDevHypPtr)&pu8PointerData[offPointerData];
     159                = (VMMDEVHYPPTR)&pu8PointerData[offPointerData];
    160160            VBOXGUEST_HGCM_CALL_PARMS(hgcmR0)[i].u.Pointer.size
    161161                = VBOXGUEST_HGCM_CALL_PARMS(hgcmR3)[i].u.Pointer.size;
  • trunk/src/VBox/Additions/linux/module/vboxmod.c

    r11174 r11642  
    732732            {
    733733                /* communicate result to VMM, align at 4MB */
    734                 req->hypervisorStart    = (vmmDevHypPtr)RT_ALIGN_P(hypervisorArea, 0x400000);
     734                req->hypervisorStart    = (VMMDEVHYPPTR32)RT_ALIGN_P(hypervisorArea, 0x400000);
    735735                req->header.requestType = VMMDevReq_SetHypervisorInfo;
    736736                req->header.rc          = VERR_GENERAL_FAILURE;
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