VirtualBox

Changeset 14956 in vbox for trunk/src/recompiler_new


Ignore:
Timestamp:
Dec 3, 2008 8:34:30 PM (16 years ago)
Author:
vboxsync
Message:

recompiler_new: signext fix (attempt)

Location:
trunk/src/recompiler_new
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler_new/VBoxRecompiler.c

    r14755 r14956  
    31143114 * @param   SrcGCPhys       The source address (guest physical).
    31153115 */
    3116 uint8_t remR3PhysReadU8(RTGCPHYS SrcGCPhys)
     3116uint32_t remR3PhysReadU8(RTGCPHYS SrcGCPhys)
    31173117{
    31183118    uint8_t val;
     
    31333133 * @param   SrcGCPhys       The source address (guest physical).
    31343134 */
    3135 int8_t remR3PhysReadS8(RTGCPHYS SrcGCPhys)
     3135int32_t remR3PhysReadS8(RTGCPHYS SrcGCPhys)
    31363136{
    31373137    int8_t val;
     
    31523152 * @param   SrcGCPhys       The source address (guest physical).
    31533153 */
    3154 uint16_t remR3PhysReadU16(RTGCPHYS SrcGCPhys)
     3154uint32_t remR3PhysReadU16(RTGCPHYS SrcGCPhys)
    31553155{
    31563156    uint16_t val;
     
    31713171 * @param   SrcGCPhys       The source address (guest physical).
    31723172 */
    3173 int16_t remR3PhysReadS16(RTGCPHYS SrcGCPhys)
     3173int32_t remR3PhysReadS16(RTGCPHYS SrcGCPhys)
    31743174{
    31753175    uint16_t val;
  • trunk/src/recompiler_new/cpu-all.h

    r14475 r14956  
    256256
    257257void     remR3PhysRead(RTGCPHYS SrcGCPhys, void *pvDst, unsigned cb);
    258 uint8_t remR3PhysReadU8(RTGCPHYS SrcGCPhys);
    259 int8_t   remR3PhysReadS8(RTGCPHYS SrcGCPhys);
    260 uint16_t remR3PhysReadU16(RTGCPHYS SrcGCPhys);
    261 int16_t  remR3PhysReadS16(RTGCPHYS SrcGCPhys);
     258uint32_t remR3PhysReadU8(RTGCPHYS SrcGCPhys);
     259int32_t  remR3PhysReadS8(RTGCPHYS SrcGCPhys);
     260uint32_t remR3PhysReadU16(RTGCPHYS SrcGCPhys);
     261int32_t  remR3PhysReadS16(RTGCPHYS SrcGCPhys);
    262262uint32_t remR3PhysReadU32(RTGCPHYS SrcGCPhys);
    263263int32_t  remR3PhysReadS32(RTGCPHYS SrcGCPhys);
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