VirtualBox

Changeset 69643 in vbox for trunk/src/VBox/Runtime/r0drv


Ignore:
Timestamp:
Nov 10, 2017 1:34:06 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
119007
Message:

Make tstRTDarwinMachKernel build on windows because windbg is easier to use than lldb.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/darwin/dbgkrnlinfo-r0drv-darwin.cpp

    r69111 r69643  
    4747#else
    4848# include <stdio.h> /* for printf */
     49#endif
     50
     51#ifndef IN_RING0 /* A linking tweak for the testcase: */
     52# include <iprt/cdefs.h>
     53# undef  RTR0DECL
     54# define RTR0DECL(type) DECLHIDDEN(type) RTCALL
    4955#endif
    5056
     
    117123
    118124#define VERR_LDR_UNEXPECTED     (-641)
     125
     126#ifndef RT_OS_DARWIN
     127# define MAC_OS_X_VERSION_MIN_REQUIRED 1050
     128#endif
    119129
    120130
     
    10861096     */
    10871097    static bool s_fFirstCall = true;
     1098#ifdef IN_RING3
     1099    extern const char *g_pszTestKernel;
     1100#endif
    10881101    struct
    10891102    {
     
    10921105    } aKernels[] =
    10931106    {
     1107#ifdef IN_RING3
     1108        { g_pszTestKernel, VERR_WRONG_ORDER },
     1109#endif
    10941110        { "/System/Library/Kernels/kernel", VERR_WRONG_ORDER },
    10951111        { "/System/Library/Kernels/kernel.development", VERR_WRONG_ORDER },
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette