VirtualBox

Changeset 36791 in vbox


Ignore:
Timestamp:
Apr 21, 2011 1:39:15 PM (14 years ago)
Author:
vboxsync
Message:

tstX86-1: Build fix for FreeBSD

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/testcase/tstX86-1.cpp

    r36768 r36791  
    7979# if defined(RT_ARCH_AMD64) && defined(RT_OS_DARWIN)
    8080    uintptr_t  *puPC = (uintptr_t *)&pCtx->uc_mcontext->__ss.__rip;
     81# elif defined(RT_ARCH_AMD64) && defined(RT_OS_FREEBSD)
     82    uintptr_t  *puPC = (uintptr_t *)&pCtx->uc_mcontext.mc_rip;
    8183# elif defined(RT_ARCH_AMD64)
    8284    uintptr_t  *puPC = (uintptr_t *)&pCtx->uc_mcontext.gregs[REG_RIP];
    8385# elif defined(RT_ARCH_X86) && defined(RT_OS_DARWIN)
    8486    uintptr_t  *puPC = (uintptr_t *)&pCtx->uc_mcontext->__ss.__eip;
     87# elif defined(RT_ARCH_X86) && defined(RT_OS_FREEBSD)
     88    uintptr_t  *puPC = (uintptr_t *)&pCtx->uc_mcontext.mc_eip;
    8589# elif defined(RT_ARCH_X86)
    8690    uintptr_t  *puPC = (uintptr_t *)&pCtx->uc_mcontext.gregs[REG_EIP];
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