VirtualBox

Changeset 107099 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Nov 22, 2024 1:44:29 AM (2 months ago)
Author:
vboxsync
Message:

IPRT: Adding RTArchValToString and RTSystemGetNativeArch for detecting win.amd64 binaries running in an emulator in win.arm64 and suchlike. jiraref:VBP-1466

Location:
trunk/src/VBox/Runtime
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/Makefile.kmk

    r106949 r107099  
    585585        common/log/RTLogCreateEx.cpp \
    586586        common/math/bignum.cpp \
     587        common/misc/RTArchValToString.cpp \
    587588        common/misc/RTAssertMsg1Weak.cpp \
    588589        common/misc/RTAssertMsg2.cpp \
     
    10881089        r3/win/RTLocaleQueryNormalizedBaseLocaleName-win.cpp \
    10891090        r3/win/RTLocaleQueryUserCountryCode-win.cpp \
     1091        r3/win/RTSystemGetNativeArch-win.cpp \
    10901092        r3/win/RTSystemQueryOSInfo-win.cpp \
    10911093        r3/win/RTSystemShutdown-win.cpp \
     
    11721174        r3/generic/RTLocaleQueryNormalizedBaseLocaleName-r3-generic.cpp \
    11731175        r3/generic/RTLocaleQueryUserCountryCode-r3-generic.cpp \
     1176        r3/generic/RTSystemGetNativeArch-r3-generic.cpp \
    11741177        r3/generic/dirrel-r3-generic.cpp \
    11751178        r3/posix/allocex-r3-posix.cpp \
     
    13191322        r3/generic/RTLocaleQueryNormalizedBaseLocaleName-r3-generic.cpp \
    13201323        r3/generic/RTLocaleQueryUserCountryCode-r3-generic.cpp \
     1324        r3/generic/RTSystemGetNativeArch-r3-generic.cpp \
    13211325        r3/generic/RTTimeZoneGetCurrent-generic.cpp \
    13221326        r3/generic/dirrel-r3-generic.cpp \
     
    14091413        r3/generic/RTLocaleQueryNormalizedBaseLocaleName-r3-generic.cpp \
    14101414        r3/generic/RTLocaleQueryUserCountryCode-r3-generic.cpp \
     1415        r3/generic/RTSystemGetNativeArch-r3-generic.cpp \
    14111416        r3/generic/dirrel-r3-generic.cpp \
    14121417        r3/posix/RTFileQueryFsSizes-posix.cpp \
     
    15121517        r3/generic/RTLocaleQueryNormalizedBaseLocaleName-r3-generic.cpp \
    15131518        r3/generic/RTLocaleQueryUserCountryCode-r3-generic.cpp \
     1519        r3/generic/RTSystemGetNativeArch-r3-generic.cpp \
    15141520        r3/generic/dirrel-r3-generic.cpp \
    15151521        r3/posix/RTFileQueryFsSizes-posix.cpp \
     
    15961602        r3/generic/RTLocaleQueryNormalizedBaseLocaleName-r3-generic.cpp \
    15971603        r3/generic/RTLocaleQueryUserCountryCode-r3-generic.cpp \
     1604        r3/generic/RTSystemGetNativeArch-r3-generic.cpp \
    15981605        r3/generic/dirrel-r3-generic.cpp \
    15991606        r3/posix/RTFileQueryFsSizes-posix.cpp \
     
    16721679        r3/generic/RTLocaleQueryNormalizedBaseLocaleName-r3-generic.cpp \
    16731680        r3/generic/RTLocaleQueryUserCountryCode-r3-generic.cpp \
     1681        r3/generic/RTSystemGetNativeArch-r3-generic.cpp \
    16741682        r3/generic/dirrel-r3-generic.cpp \
    16751683        r3/posix/RTFileQueryFsSizes-posix.cpp \
     
    17841792        r3/generic/RTLocaleQueryNormalizedBaseLocaleName-r3-generic.cpp \
    17851793        r3/generic/RTLocaleQueryUserCountryCode-r3-generic.cpp \
     1794        r3/generic/RTSystemGetNativeArch-r3-generic.cpp \
    17861795        r3/generic/RTTimeZoneGetCurrent-generic.cpp \
    17871796        r3/generic/dirrel-r3-generic.cpp \
  • trunk/src/VBox/Runtime/r3/nt/fs-nt.cpp

    r106061 r107099  
    185185
    186186                /* figure the remote stuff */
    187                 pProperties->fRemote          = RT_BOOL(FsDevInfo.Characteristics & FILE_REMOTE_DEVICE);
     187                pProperties->fRemote          = (FsDevInfo.Characteristics & FILE_REMOTE_DEVICE)
     188                                             || FsDevInfo.DeviceType == FILE_DEVICE_NETWORK
     189                                             || FsDevInfo.DeviceType == FILE_DEVICE_NETWORK_FILE_SYSTEM;
    188190            }
    189191            else
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