VirtualBox

Changeset 32455 in vbox for trunk/include


Ignore:
Timestamp:
Sep 13, 2010 3:08:36 PM (14 years ago)
Author:
vboxsync
Message:

iprt/defs.h: Applied patch addressing RT_VALID_PTR for user mode on sparc-32/solaris.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/cdefs.h

    r30995 r32455  
    44
    55/*
    6  * Copyright (C) 2006-2009 Oracle Corporation
     6 * Copyright (C) 2006-2010 Oracle Corporation
    77 *
    88 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    18261826# ifdef IN_RING3
    18271827#  ifdef RT_OS_SOLARIS
    1828 /** Sparc user mode: According to Figure 9.4 (sun4u) in solaris internals. */
    1829 #   define RT_VALID_PTR(ptr)    ( (uintptr_t)(ptr) + 0x414000U >= 0x414000U + 0x10000U )
     1828/** Sparc user mode: According to
     1829 * http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/sun4/os/startup.c#510 */
     1830#   define RT_VALID_PTR(ptr)    ( (uintptr_t)(ptr) + 0x400000U >= 0x400000U + 0x2000U )
     1831
    18301832#  else
    18311833#   error "Port me"
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