VirtualBox

Ignore:
Timestamp:
Jan 31, 2022 10:17:19 PM (3 years ago)
Author:
vboxsync
Message:

iprt/asm-amd64-x86.h: Split out some non-assembly functions that related more to x86.h than to asm.h, changing the function prefix from ASM to RTX86. bugref:9898

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-GetCpuVendor.c

    r93115 r93515  
    3737        uint32_t uEbx, uEcx, uEdx;
    3838        ASMCpuIdExSlow(0, 0, 0, 0, NULL, &uEbx, &uEcx, &uEdx);
    39         if (ASMIsIntelCpuEx(uEbx, uEcx, uEdx))
     39        if (RTX86IsIntelCpu(uEbx, uEcx, uEdx))
    4040            return BS3CPUVENDOR_INTEL;
    41         if (ASMIsAmdCpuEx(uEbx, uEcx, uEdx))
     41        if (RTX86IsAmdCpu(uEbx, uEcx, uEdx))
    4242            return BS3CPUVENDOR_AMD;
    43         if (ASMIsViaCentaurCpuEx(uEbx, uEcx, uEdx))
     43        if (RTX86IsViaCentaurCpu(uEbx, uEcx, uEdx))
    4444            return BS3CPUVENDOR_VIA;
    45         if (ASMIsShanghaiCpuEx(uEbx, uEcx, uEdx))
     45        if (RTX86IsShanghaiCpu(uEbx, uEcx, uEdx))
    4646            return BS3CPUVENDOR_SHANGHAI;
    47         if (ASMIsHygonCpuEx(uEbx, uEcx, uEdx))
     47        if (RTX86IsHygonCpu(uEbx, uEcx, uEdx))
    4848            return BS3CPUVENDOR_HYGON;
    4949        return BS3CPUVENDOR_UNKNOWN;
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