VirtualBox

Changeset 106633 in vbox


Ignore:
Timestamp:
Oct 23, 2024 8:16:47 PM (5 weeks ago)
Author:
vboxsync
Message:

iprt/asm-arm.h: Added ASMGetThreadIdRoEL0. [build fix] jiraref:VBP-1253

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/asm-arm.h

    r106623 r106633  
    447447    __asm__ __volatile__("Lstart_ASMGetThreadIdEl0_%=:\n\t"
    448448                         "mrs %[uRet], TPIDRRO_EL0\n\t"
    449                          : : [uRet] "r" (uRet));
     449                         : [uRet] "=r" (uRet));
    450450#  else
    451451    __asm__ __volatile__("Lstart_ASMGetThreadIdEl0_%=:\n\t"
    452452                         "mrc p15, 0, %[uRet], c13, c0, 3\n\t" /* TPIDRURO */
    453                          : : [uRet] "r" (uRet));
     453                         : [uRet] "=r" (uRet));
    454454#  endif
    455455    return uRet;
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