VirtualBox

Ignore:
Timestamp:
May 21, 2009 3:29:29 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
47587
Message:

SUPLib: Implemented ring-3 version of the semaphore API and created a simple testcase for it.

Location:
trunk/src/VBox/HostDrivers/Support
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/Makefile.kmk

    r18181 r19892  
    8282SUPR3_SOURCES       = \
    8383        SUPLib.cpp \
     84        SUPLibSem.cpp \
    8485        SUPR3HardenedIPRT.cpp \
    8586        SUPR3HardenedVerify.cpp \
  • trunk/src/VBox/HostDrivers/Support/SUPLib.cpp

    r19454 r19892  
    100100 * Well, at least parts of it, specificly the parts that are being handed over
    101101 * via the pre-init mechanism from the hardened executable stub.  */
    102 static SUPLIBDATA               g_supLibData =
     102SUPLIBDATA                      g_supLibData =
    103103{
    104104    NIL_RTFILE
  • trunk/src/VBox/HostDrivers/Support/SUPLibInternal.h

    r16335 r19892  
    9797
    9898/*******************************************************************************
    99 *   Global Variables                                                           *
    100 *******************************************************************************/
    101 /** The negotiated interrupt number. */
    102 extern DECLHIDDEN(uint8_t)        g_uchInterruptNo;
    103 /** The negotiated cookie. */
    104 extern DECLHIDDEN(uint32_t)       g_u32Cookie;
    105 /** The negotiated cookie. */
    106 extern DECLHIDDEN(uint32_t)       g_u32CookieSession;
    107 
    108 
    109 /*******************************************************************************
    11099*   Structures and Typedefs                                                    *
    111100*******************************************************************************/
     
    243232
    244233/*******************************************************************************
     234*   Global Variables                                                           *
     235*******************************************************************************/
     236extern DECLHIDDEN(uint32_t)     g_u32Cookie;
     237extern DECLHIDDEN(uint32_t)     g_u32SessionCookie;
     238extern DECLHIDDEN(SUPLIBDATA)   g_supLibData;
     239
     240
     241/*******************************************************************************
    245242*   OS Specific Function                                                       *
    246243*******************************************************************************/
  • trunk/src/VBox/HostDrivers/Support/testcase/Makefile.kmk

    r18191 r19892  
    55
    66#
    7 # Copyright (C) 2006-2007 Sun Microsystems, Inc.
     7# Copyright (C) 2006-2009 Sun Microsystems, Inc.
    88#
    99# This file is part of VirtualBox Open Source Edition (OSE), as
     
    4545        tstPin \
    4646        tstGIP-2 \
    47         tstGetPagingMode
     47        tstGetPagingMode \
     48        tstSupSem
    4849endif # VBOX_WITH_TESTCASES
    4950
     
    8586tstGetPagingMode_SOURCES = tstGetPagingMode.cpp
    8687
     88tstSupSem_TEMPLATE    = VBOXR3TSTEXE
     89tstSupSem_SOURCES     = tstSupSem.cpp
     90
    8791include $(KBUILD_PATH)/subfooter.kmk
    8892
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