VirtualBox

Ignore:
Timestamp:
Aug 14, 2015 3:16:38 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
102121
Message:

*: scm cleanup run.

Location:
trunk/src/VBox/HostDrivers/Support
Files:
62 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPDrv-dtrace.cpp

    r56293 r57358  
    2626
    2727
    28 /*******************************************************************************
    29 *   Header Files                                                               *
    30 *******************************************************************************/
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3131#define LOG_GROUP LOG_GROUP_SUP_DRV
    3232#include "SUPDrvInternal.h"
     
    108108
    109109
    110 /*******************************************************************************
    111 *   Structures and Typedefs                                                    *
    112 *******************************************************************************/
     110/*********************************************************************************************************************************
     111*   Structures and Typedefs                                                                                                      *
     112*********************************************************************************************************************************/
    113113/* Seems there is some return code difference here. Keep the return code and
    114114   case it to whatever the host desires. */
     
    172172
    173173
    174 /*******************************************************************************
    175 *   Defined Constants And Macros                                               *
    176 *******************************************************************************/
     174/*********************************************************************************************************************************
     175*   Defined Constants And Macros                                                                                                 *
     176*********************************************************************************************************************************/
    177177/** The first magic value. */
    178178#define SUPDRVDT_STACK_DATA_MAGIC1      RT_MAKE_U32_FROM_U8('S', 'U', 'P', 'D')
     
    212212
    213213
    214 /*******************************************************************************
    215 *   Global Variables                                                           *
    216 *******************************************************************************/
     214/*********************************************************************************************************************************
     215*   Global Variables                                                                                                             *
     216*********************************************************************************************************************************/
    217217#if defined(RT_OS_DARWIN) || defined(RT_OS_LINUX)
    218218/** @name DTrace kernel interface used on Darwin and Linux.
  • trunk/src/VBox/HostDrivers/Support/SUPDrv.cpp

    r57229 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#define LOG_GROUP LOG_GROUP_SUP_DRV
    3132#define SUPDRV_AGNOSTIC
     
    9192
    9293
    93 /*******************************************************************************
    94 *   Defined Constants And Macros                                               *
    95 *******************************************************************************/
     94/*********************************************************************************************************************************
     95*   Defined Constants And Macros                                                                                                 *
     96*********************************************************************************************************************************/
    9697/** @def VBOX_SVN_REV
    9798 * The makefile should define this if it can. */
     
    127128
    128129
    129 /*******************************************************************************
    130 *   Internal Functions                                                         *
    131 *******************************************************************************/
     130/*********************************************************************************************************************************
     131*   Internal Functions                                                                                                           *
     132*********************************************************************************************************************************/
    132133static DECLCALLBACK(int)    supdrvSessionObjHandleRetain(RTHANDLETABLE hHandleTable, void *pvObj, void *pvCtx, void *pvUser);
    133134static DECLCALLBACK(void)   supdrvSessionObjHandleDelete(RTHANDLETABLE hHandleTable, uint32_t h, void *pvObj, void *pvCtx, void *pvUser);
     
    152153
    153154
    154 /*******************************************************************************
    155 *   Global Variables                                                           *
    156 *******************************************************************************/
     155/*********************************************************************************************************************************
     156*   Global Variables                                                                                                             *
     157*********************************************************************************************************************************/
    157158/**
    158159 * Array of the R0 SUP API.
  • trunk/src/VBox/HostDrivers/Support/SUPDrvGip.cpp

    r57260 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#define LOG_GROUP LOG_GROUP_SUP_DRV
    3132#define SUPDRV_AGNOSTIC
     
    6970
    7071
    71 /*******************************************************************************
    72 *   Defined Constants And Macros                                               *
    73 *******************************************************************************/
     72/*********************************************************************************************************************************
     73*   Defined Constants And Macros                                                                                                 *
     74*********************************************************************************************************************************/
    7475/** The frequency by which we recalculate the u32UpdateHz and
    7576 * u32UpdateIntervalNS GIP members. The value must be a power of 2.
     
    120121
    121122
    122 /*******************************************************************************
    123 *   Internal Functions                                                         *
    124 *******************************************************************************/
     123/*********************************************************************************************************************************
     124*   Internal Functions                                                                                                           *
     125*********************************************************************************************************************************/
    125126static DECLCALLBACK(void)   supdrvGipSyncAndInvariantTimer(PRTTIMER pTimer, void *pvUser, uint64_t iTick);
    126127static DECLCALLBACK(void)   supdrvGipAsyncTimer(PRTTIMER pTimer, void *pvUser, uint64_t iTick);
     
    138139
    139140
    140 /*******************************************************************************
    141 *   Global Variables                                                           *
    142 *******************************************************************************/
     141/*********************************************************************************************************************************
     142*   Global Variables                                                                                                             *
     143*********************************************************************************************************************************/
    143144DECLEXPORT(PSUPGLOBALINFOPAGE) g_pSUPGlobalInfoPage = NULL;
    144145
  • trunk/src/VBox/HostDrivers/Support/SUPDrvSem.cpp

    r55401 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#define LOG_GROUP LOG_GROUP_SUP_DRV
    3132#define SUPDRV_AGNOSTIC
  • trunk/src/VBox/HostDrivers/Support/SUPDrvTracer.cpp

    r56293 r57358  
    2626
    2727
    28 /*******************************************************************************
    29 *   Header Files                                                               *
    30 *******************************************************************************/
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3131#define LOG_GROUP LOG_GROUP_SUP_DRV
    3232#define SUPDRV_AGNOSTIC
     
    4747
    4848
    49 /*******************************************************************************
    50 *   Structures and Typedefs                                                    *
    51 *******************************************************************************/
     49/*********************************************************************************************************************************
     50*   Structures and Typedefs                                                                                                      *
     51*********************************************************************************************************************************/
    5252/** Pointer to a user tracer module registration record. */
    5353typedef struct SUPDRVTRACERUMOD *PSUPDRVTRACERUMOD;
     
    158158
    159159
    160 /*******************************************************************************
    161 *   Defined Constants And Macros                                               *
    162 *******************************************************************************/
     160/*********************************************************************************************************************************
     161*   Defined Constants And Macros                                                                                                 *
     162*********************************************************************************************************************************/
    163163/** Simple SUPR0Printf-style logging.  */
    164164#ifdef DEBUG_bird
     
    169169
    170170
    171 /*******************************************************************************
    172 *   Global Variables                                                           *
    173 *******************************************************************************/
     171/*********************************************************************************************************************************
     172*   Global Variables                                                                                                             *
     173*********************************************************************************************************************************/
    174174/** The address of the current probe fire routine for kernel mode. */
    175175PFNRT       g_pfnSupdrvProbeFireKernel = supdrvTracerProbeFireStub;
    176176
    177177
    178 /*******************************************************************************
    179 *   Internal Functions                                                         *
    180 *******************************************************************************/
     178/*********************************************************************************************************************************
     179*   Internal Functions                                                                                                           *
     180*********************************************************************************************************************************/
    181181static void supdrvVtgReleaseObjectCopy(PSUPDRVDEVEXT pDevExt, PSUPDRVVTGCOPY pThis);
    182182
  • trunk/src/VBox/HostDrivers/Support/SUPLib.cpp

    r57229 r57358  
    4343 */
    4444
    45 /*******************************************************************************
    46 *   Header Files                                                               *
    47 *******************************************************************************/
     45
     46/*********************************************************************************************************************************
     47*   Header Files                                                                                                                 *
     48*********************************************************************************************************************************/
    4849#define LOG_GROUP LOG_GROUP_SUP
    4950#include <VBox/sup.h>
     
    7273
    7374
    74 /*******************************************************************************
    75 *   Defined Constants And Macros                                               *
    76 *******************************************************************************/
     75/*********************************************************************************************************************************
     76*   Defined Constants And Macros                                                                                                 *
     77*********************************************************************************************************************************/
    7778/** R0 VMM module name. */
    7879#define VMMR0_NAME      "VMMR0"
    7980
    8081
    81 /*******************************************************************************
    82 *   Structures and Typedefs                                                    *
    83 *******************************************************************************/
     82/*********************************************************************************************************************************
     83*   Structures and Typedefs                                                                                                      *
     84*********************************************************************************************************************************/
    8485typedef DECLCALLBACK(int) FNCALLVMMR0(PVMR0 pVMR0, unsigned uOperation, void *pvArg);
    8586typedef FNCALLVMMR0 *PFNCALLVMMR0;
    8687
    8788
    88 /*******************************************************************************
    89 *   Global Variables                                                           *
    90 *******************************************************************************/
     89/*********************************************************************************************************************************
     90*   Global Variables                                                                                                             *
     91*********************************************************************************************************************************/
    9192/** Init counter. */
    9293static uint32_t                 g_cInits = 0;
     
    138139
    139140
    140 /*******************************************************************************
    141 *   Internal Functions                                                         *
    142 *******************************************************************************/
     141/*********************************************************************************************************************************
     142*   Internal Functions                                                                                                           *
     143*********************************************************************************************************************************/
    143144static int supInitFake(PSUPDRVSESSION *ppSession);
    144145static int supLoadModule(const char *pszFilename, const char *pszModule, const char *pszSrvReqHandler, void **ppvImageBase);
  • trunk/src/VBox/HostDrivers/Support/SUPLibAll.cpp

    r57218 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#include <VBox/sup.h>
    3132#ifdef IN_RC
  • trunk/src/VBox/HostDrivers/Support/SUPLibLdr.cpp

    r57004 r57358  
    4343 */
    4444
    45 /*******************************************************************************
    46 *   Header Files                                                               *
    47 *******************************************************************************/
     45
     46/*********************************************************************************************************************************
     47*   Header Files                                                                                                                 *
     48*********************************************************************************************************************************/
    4849#define LOG_GROUP LOG_GROUP_SUP
    4950#include <VBox/sup.h>
     
    7273
    7374
    74 /*******************************************************************************
    75 *   Defined Constants And Macros                                               *
    76 *******************************************************************************/
     75/*********************************************************************************************************************************
     76*   Defined Constants And Macros                                                                                                 *
     77*********************************************************************************************************************************/
    7778/** R0 VMM module name. */
    7879#define VMMR0_NAME      "VMMR0"
    7980
    8081
    81 /*******************************************************************************
    82 *   Structures and Typedefs                                                    *
    83 *******************************************************************************/
     82/*********************************************************************************************************************************
     83*   Structures and Typedefs                                                                                                      *
     84*********************************************************************************************************************************/
    8485typedef DECLCALLBACK(int) FNCALLVMMR0(PVMR0 pVMR0, unsigned uOperation, void *pvArg);
    8586typedef FNCALLVMMR0 *PFNCALLVMMR0;
    8687
    8788
    88 /*******************************************************************************
    89 *   Global Variables                                                           *
    90 *******************************************************************************/
     89/*********************************************************************************************************************************
     90*   Global Variables                                                                                                             *
     91*********************************************************************************************************************************/
    9192/** VMMR0 Load Address. */
    9293static RTR0PTR                  g_pvVMMR0 = NIL_RTR0PTR;
    9394
    9495
    95 /*******************************************************************************
    96 *   Internal Functions                                                         *
    97 *******************************************************************************/
     96/*********************************************************************************************************************************
     97*   Internal Functions                                                                                                           *
     98*********************************************************************************************************************************/
    9899static int               supLoadModule(const char *pszFilename, const char *pszModule, const char *pszSrvReqHandler,
    99100                                       PRTERRINFO pErrInfo, void **ppvImageBase);
  • trunk/src/VBox/HostDrivers/Support/SUPLibSem.cpp

    r56293 r57358  
    2626
    2727
    28 /*******************************************************************************
    29 *   Header Files                                                               *
    30 *******************************************************************************/
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3131#define LOG_GROUP LOG_GROUP_SUP
    3232#include <VBox/sup.h>
  • trunk/src/VBox/HostDrivers/Support/SUPR0-def-lx.sed

    r56772 r57358  
    3737/^    { "/!d
    3838
    39 # Handle trailing selection comment (/* solaris-only, os2-only */). 
     39# Handle trailing selection comment (/* solaris-only, os2-only */).
    4040/\*\/ *$/!b transform
    4141/only-os2/b transform
    4242/only-/!b transform
    4343d
    44      
     44
    4545:transform
    4646# Transform the export line, the format is like this:
  • trunk/src/VBox/HostDrivers/Support/SUPR0-def-pe.sed

    r56772 r57358  
    3737/^    { "/!d
    3838
    39 # Handle trailing selection comment (/* solaris-only, windows-only */). 
     39# Handle trailing selection comment (/* solaris-only, windows-only */).
    4040/\*\/ *$/!b transform
    4141/only-windows/b transform
    4242/only-/!b transform
    4343d
    44      
     44
    4545:transform
    4646# Transform the export line, the format is like this:
  • trunk/src/VBox/HostDrivers/Support/SUPR0IdcClient.c

    r56293 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#include "SUPR0IdcClientInternal.h"
    3132#include <VBox/err.h>
     
    3334
    3435
    35 /*******************************************************************************
    36 *   Global Variables                                                           *
    37 *******************************************************************************/
     36/*********************************************************************************************************************************
     37*   Global Variables                                                                                                             *
     38*********************************************************************************************************************************/
    3839static PSUPDRVIDCHANDLE volatile g_pMainHandle = NULL;
    3940
  • trunk/src/VBox/HostDrivers/Support/SUPR0IdcClientComponent.c

    r56293 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#include "SUPR0IdcClientInternal.h"
    3132#include <VBox/err.h>
  • trunk/src/VBox/HostDrivers/Support/SUPR0IdcClientStubs.c

    r56293 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#include "SUPR0IdcClientInternal.h"
    3132#include <VBox/err.h>
  • trunk/src/VBox/HostDrivers/Support/SUPR3HardenedIPRT.cpp

    r56733 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#define LOG_GROUP LOG_GROUP_SUP
    3132#include <VBox/sup.h>
  • trunk/src/VBox/HostDrivers/Support/SUPR3HardenedMain.cpp

    r56819 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#if defined(RT_OS_OS2)
    3132# define INCL_BASE
     
    8990
    9091
    91 /*******************************************************************************
    92 *   Defined Constants And Macros                                               *
    93 *******************************************************************************/
     92/*********************************************************************************************************************************
     93*   Defined Constants And Macros                                                                                                 *
     94*********************************************************************************************************************************/
    9495/** @def SUP_HARDENED_SUID
    9596 * Whether we're employing set-user-ID-on-execute in the hardening.
     
    111112
    112113
    113 /*******************************************************************************
    114 *   Structures and Typedefs                                                    *
    115 *******************************************************************************/
     114/*********************************************************************************************************************************
     115*   Structures and Typedefs                                                                                                      *
     116*********************************************************************************************************************************/
    116117/** @see RTR3InitEx */
    117118typedef DECLCALLBACK(int) FNRTR3INITEX(uint32_t iVersion, uint32_t fFlags, int cArgs,
     
    124125
    125126
    126 /*******************************************************************************
    127 *   Global Variables                                                           *
    128 *******************************************************************************/
     127/*********************************************************************************************************************************
     128*   Global Variables                                                                                                             *
     129*********************************************************************************************************************************/
    129130/** The pre-init data we pass on to SUPR3 (residing in VBoxRT). */
    130131static SUPPREINITDATA   g_SupPreInitData;
     
    174175
    175176
    176 /*******************************************************************************
    177 *   Internal Functions                                                         *
    178 *******************************************************************************/
     177/*********************************************************************************************************************************
     178*   Internal Functions                                                                                                           *
     179*********************************************************************************************************************************/
    179180#ifdef SUP_HARDENED_SUID
    180181static void supR3HardenedMainDropPrivileges(void);
  • trunk/src/VBox/HostDrivers/Support/SUPR3HardenedNoCrt.cpp

    r56293 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#if RT_OS_WINDOWS
    3132# include <Windows.h>
  • trunk/src/VBox/HostDrivers/Support/SUPR3HardenedVerify.cpp

    r57351 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#if defined(RT_OS_OS2)
    3132# define INCL_BASE
     
    8081
    8182
    82 /*******************************************************************************
    83 *   Defined Constants And Macros                                               *
    84 *******************************************************************************/
     83/*********************************************************************************************************************************
     84*   Defined Constants And Macros                                                                                                 *
     85*********************************************************************************************************************************/
    8586/** The max path length acceptable for a trusted path. */
    8687#define SUPR3HARDENED_MAX_PATH      260U
     
    9899
    99100
    100 /*******************************************************************************
    101 *   Global Variables                                                           *
    102 *******************************************************************************/
     101/*********************************************************************************************************************************
     102*   Global Variables                                                                                                             *
     103*********************************************************************************************************************************/
    103104/**
    104105 * The files that gets verified.
  • trunk/src/VBox/HostDrivers/Support/SUPSvc.cpp

    r56293 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#define LOG_GROUP   LOG_GROUP_SUP
    3132#include <VBox/log.h>
     
    3839
    3940
    40 /*******************************************************************************
    41 *   Structures and Typedefs                                                    *
    42 *******************************************************************************/
     41/*********************************************************************************************************************************
     42*   Structures and Typedefs                                                                                                      *
     43*********************************************************************************************************************************/
    4344/**
    4445 * Service state.
     
    108109
    109110
    110 /*******************************************************************************
    111 *   Global Variables                                                           *
    112 *******************************************************************************/
     111/*********************************************************************************************************************************
     112*   Global Variables                                                                                                             *
     113*********************************************************************************************************************************/
    113114static SUPSVCSERVICE g_aServices[] =
    114115{
  • trunk/src/VBox/HostDrivers/Support/SUPSvcGlobal.cpp

    r56293 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#include "SUPSvcInternal.h"
    3132
  • trunk/src/VBox/HostDrivers/Support/SUPSvcGrant.cpp

    r56293 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#define LOG_GROUP   LOG_GROUP_SUP
    3132#include "SUPSvcInternal.h"
     
    4344
    4445
    45 /*******************************************************************************
    46 *   Structures and Typedefs                                                    *
    47 *******************************************************************************/
     46/*********************************************************************************************************************************
     47*   Structures and Typedefs                                                                                                      *
     48*********************************************************************************************************************************/
    4849/** Pointer to a client instance. */
    4950typedef struct SUPSVCGRANTSESSION *PSUPSVCGRANTSESSION;
     
    145146
    146147
    147 /*******************************************************************************
    148 *   Internal Functions                                                         *
    149 *******************************************************************************/
     148/*********************************************************************************************************************************
     149*   Internal Functions                                                                                                           *
     150*********************************************************************************************************************************/
    150151static const char *supSvcGrantStateName(SUPSVCGRANTSTATE enmState);
    151152
  • trunk/src/VBox/HostDrivers/Support/darwin/SUPDrv-darwin.cpp

    r57266 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#define LOG_GROUP LOG_GROUP_SUP_DRV
    3132#include "../../../Runtime/r0drv/darwin/the-darwin-kernel.h"
     
    7677
    7778
    78 /*******************************************************************************
    79 *   Defined Constants And Macros                                               *
    80 *******************************************************************************/
     79/*********************************************************************************************************************************
     80*   Defined Constants And Macros                                                                                                 *
     81*********************************************************************************************************************************/
    8182
    8283/** The system device node name. */
     
    8788
    8889
    89 /*******************************************************************************
    90 *   Internal Functions                                                         *
    91 *******************************************************************************/
     90/*********************************************************************************************************************************
     91*   Internal Functions                                                                                                           *
     92*********************************************************************************************************************************/
    9293RT_C_DECLS_BEGIN
    9394static kern_return_t    VBoxDrvDarwinStart(struct kmod_info *pKModInfo, void *pvData);
     
    109110
    110111
    111 /*******************************************************************************
    112 *   Structures and Typedefs                                                    *
    113 *******************************************************************************/
     112/*********************************************************************************************************************************
     113*   Structures and Typedefs                                                                                                      *
     114*********************************************************************************************************************************/
    114115/**
    115116 * The service class.
     
    161162
    162163
    163 /*******************************************************************************
    164 *   Global Variables                                                           *
    165 *******************************************************************************/
     164/*********************************************************************************************************************************
     165*   Global Variables                                                                                                             *
     166*********************************************************************************************************************************/
    166167/**
    167168 * Declare the module stuff.
  • trunk/src/VBox/HostDrivers/Support/darwin/SUPLib-darwin.cpp

    r56293 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#define LOG_GROUP LOG_GROUP_SUP
    3132#ifdef IN_SUP_HARDENED_R3
     
    5758
    5859
    59 /*******************************************************************************
    60 *   Defined Constants And Macros                                               *
    61 *******************************************************************************/
     60/*********************************************************************************************************************************
     61*   Defined Constants And Macros                                                                                                 *
     62*********************************************************************************************************************************/
    6263/** System device name. */
    6364#define DEVICE_NAME_SYS "/dev/vboxdrv"
  • trunk/src/VBox/HostDrivers/Support/darwin/SUPR0IdcClient-darwin.c

    r56293 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#include "../SUPR0IdcClientInternal.h"
    3132#include <VBox/err.h>
  • trunk/src/VBox/HostDrivers/Support/freebsd/SUPDrv-freebsd.c

    r57108 r57358  
    2929 */
    3030
    31 /*******************************************************************************
    32 *   Header Files                                                               *
    33 *******************************************************************************/
     31
     32/*********************************************************************************************************************************
     33*   Header Files                                                                                                                 *
     34*********************************************************************************************************************************/
    3435#define LOG_GROUP LOG_GROUP_SUP_DRV
    3536/* Deal with conflicts first. */
     
    6465#endif
    6566
    66 /*******************************************************************************
    67 *   Internal Functions                                                         *
    68 *******************************************************************************/
     67
     68/*********************************************************************************************************************************
     69*   Internal Functions                                                                                                           *
     70*********************************************************************************************************************************/
    6971static int VBoxDrvFreeBSDModuleEvent(struct module *pMod, int enmEventType, void *pvArg);
    7072static int VBoxDrvFreeBSDLoad(void);
     
    7880
    7981
    80 /*******************************************************************************
    81 *   Global Variables                                                           *
    82 *******************************************************************************/
     82/*********************************************************************************************************************************
     83*   Global Variables                                                                                                             *
     84*********************************************************************************************************************************/
    8385/**
    8486 * Module info structure used by the kernel.
  • trunk/src/VBox/HostDrivers/Support/freebsd/SUPLib-freebsd.cpp

    r56293 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#define LOG_GROUP LOG_GROUP_SUP
    3132#ifdef IN_SUP_HARDENED_R3
     
    5657#include <stdio.h>
    5758
    58 /*******************************************************************************
    59 *   Defined Constants And Macros                                               *
    60 *******************************************************************************/
     59
     60/*********************************************************************************************************************************
     61*   Defined Constants And Macros                                                                                                 *
     62*********************************************************************************************************************************/
    6163/** System device name. */
    6264#define DEVICE_NAME_SYS "/dev/vboxdrv"
  • trunk/src/VBox/HostDrivers/Support/freebsd/SUPR0IdcClient-freebsd.c

    r56293 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#include "../SUPR0IdcClientInternal.h"
    3132#include <VBox/err.h>
  • trunk/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c

    r57315 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#define LOG_GROUP LOG_GROUP_SUP_DRV
    3132#include "../SUPDrvInternal.h"
     
    6768
    6869
    69 /*******************************************************************************
    70 *   Defined Constants And Macros                                               *
    71 *******************************************************************************/
     70/*********************************************************************************************************************************
     71*   Defined Constants And Macros                                                                                                 *
     72*********************************************************************************************************************************/
    7273/* check kernel version */
    7374# ifndef SUPDRV_AGNOSTIC
     
    104105
    105106
    106 /*******************************************************************************
    107 *   Internal Functions                                                         *
    108 *******************************************************************************/
     107/*********************************************************************************************************************************
     108*   Internal Functions                                                                                                           *
     109*********************************************************************************************************************************/
    109110static int  VBoxDrvLinuxInit(void);
    110111static void VBoxDrvLinuxUnload(void);
     
    132133
    133134
    134 /*******************************************************************************
    135 *   Global Variables                                                           *
    136 *******************************************************************************/
     135/*********************************************************************************************************************************
     136*   Global Variables                                                                                                             *
     137*********************************************************************************************************************************/
    137138/**
    138139 * Device extention & session data association structure.
  • trunk/src/VBox/HostDrivers/Support/linux/SUPLib-linux.cpp

    r56293 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#define LOG_GROUP LOG_GROUP_SUP
    3132#ifdef IN_SUP_HARDENED_R3
     
    5859
    5960
    60 /*******************************************************************************
    61 *   Defined Constants And Macros                                               *
    62 *******************************************************************************/
     61/*********************************************************************************************************************************
     62*   Defined Constants And Macros                                                                                                 *
     63*********************************************************************************************************************************/
    6364/** System device name. */
    6465#define DEVICE_NAME_SYS     "/dev/vboxdrv"
  • trunk/src/VBox/HostDrivers/Support/linux/SUPR0IdcClient-linux.c

    r56293 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#include "../SUPR0IdcClientInternal.h"
    3132#include <VBox/err.h>
  • trunk/src/VBox/HostDrivers/Support/os2/SUPDrv-os2.cpp

    r57108 r57358  
    2929 */
    3030
    31 /*******************************************************************************
    32 *   Header Files                                                               *
    33 *******************************************************************************/
     31
     32/*********************************************************************************************************************************
     33*   Header Files                                                                                                                 *
     34*********************************************************************************************************************************/
    3435#define LOG_GROUP LOG_GROUP_SUP_DRV
    3536#define __STDC_CONSTANT_MACROS
     
    5051
    5152
    52 /*******************************************************************************
    53 *   Global Variables                                                           *
    54 *******************************************************************************/
     53/*********************************************************************************************************************************
     54*   Global Variables                                                                                                             *
     55*********************************************************************************************************************************/
    5556/**
    5657 * Device extention & session data association structure.
     
    7778
    7879
    79 /*******************************************************************************
    80 *   Internal Functions                                                         *
    81 *******************************************************************************/
     80/*********************************************************************************************************************************
     81*   Internal Functions                                                                                                           *
     82*********************************************************************************************************************************/
    8283
    8384
  • trunk/src/VBox/HostDrivers/Support/os2/SUPLib-os2.cpp

    r56293 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#define INCL_BASE
    3132#define INCL_ERRORS
     
    5657
    5758
    58 /*******************************************************************************
    59 *   Defined Constants And Macros                                               *
    60 *******************************************************************************/
     59/*********************************************************************************************************************************
     60*   Defined Constants And Macros                                                                                                 *
     61*********************************************************************************************************************************/
    6162/** OS/2 Device name. */
    6263#define DEVICE_NAME     "/dev/vboxdrv$"
  • trunk/src/VBox/HostDrivers/Support/os2/SUPR0IdcClient-os2.c

    r56293 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#include "../SUPR0IdcClientInternal.h"
    3132#include <VBox/err.h>
  • trunk/src/VBox/HostDrivers/Support/solaris/SUPDrv-solaris.c

    r57108 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#define LOG_GROUP LOG_GROUP_SUP_DRV
    3132#include <sys/types.h>
     
    6566
    6667
    67 /*******************************************************************************
    68 *   Defined Constants And Macros                                               *
    69 *******************************************************************************/
     68/*********************************************************************************************************************************
     69*   Defined Constants And Macros                                                                                                 *
     70*********************************************************************************************************************************/
    7071/** The system device name. */
    7172#define DEVICE_NAME_SYS          "vboxdrv"
     
    7879
    7980
    80 /*******************************************************************************
    81 *   Internal Functions                                                         *
    82 *******************************************************************************/
     81/*********************************************************************************************************************************
     82*   Internal Functions                                                                                                           *
     83*********************************************************************************************************************************/
    8384static int VBoxDrvSolarisOpen(dev_t *pDev, int fFlag, int fType, cred_t *pCred);
    8485static int VBoxDrvSolarisClose(dev_t Dev, int fFlag, int fType, cred_t *pCred);
     
    9596
    9697
    97 /*******************************************************************************
    98 *   Global Variables                                                           *
    99 *******************************************************************************/
     98/*********************************************************************************************************************************
     99*   Global Variables                                                                                                             *
     100*********************************************************************************************************************************/
    100101/**
    101102 * cb_ops: for drivers that support char/block entry points
  • trunk/src/VBox/HostDrivers/Support/solaris/SUPLib-solaris.cpp

    r56293 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#define LOG_GROUP LOG_GROUP_SUP
    3132#ifdef IN_SUP_HARDENED_R3
     
    6263
    6364
    64 /*******************************************************************************
    65 *   Defined Constants And Macros                                               *
    66 *******************************************************************************/
     65/*********************************************************************************************************************************
     66*   Defined Constants And Macros                                                                                                 *
     67*********************************************************************************************************************************/
    6768/** Solaris device link - system. */
    6869#define DEVICE_NAME_SYS       "/devices/pseudo/vboxdrv@0:vboxdrv"
  • trunk/src/VBox/HostDrivers/Support/solaris/SUPR0IdcClient-solaris.c

    r56293 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#include "../SUPR0IdcClientInternal.h"
    3132#include <VBox/err.h>
  • trunk/src/VBox/HostDrivers/Support/testcase/SUPInstall.cpp

    r56293 r57358  
    2626
    2727
    28 /*******************************************************************************
    29 *   Header Files                                                               *
    30 *******************************************************************************/
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3131#include <VBox/sup.h>
    3232#include <VBox/err.h>
  • trunk/src/VBox/HostDrivers/Support/testcase/SUPLoggerCtl.cpp

    r56293 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#include <VBox/sup.h>
    3132#include <iprt/buildconfig.h>
  • trunk/src/VBox/HostDrivers/Support/testcase/SUPUninstall.cpp

    r56293 r57358  
    2626
    2727
    28 /*******************************************************************************
    29 *   Header Files                                                               *
    30 *******************************************************************************/
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3131#include <VBox/sup.h>
    3232#include <VBox/err.h>
  • trunk/src/VBox/HostDrivers/Support/testcase/tstContiguous.cpp

    r56293 r57358  
    2626
    2727
    28 /*******************************************************************************
    29 *   Header Files                                                               *
    30 *******************************************************************************/
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3131#include <VBox/sup.h>
    3232#include <VBox/param.h>
  • trunk/src/VBox/HostDrivers/Support/testcase/tstGIP-2.cpp

    r57354 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#include <VBox/sup.h>
    3132#include <VBox/err.h>
  • trunk/src/VBox/HostDrivers/Support/testcase/tstGetPagingMode.cpp

    r56293 r57358  
    2626
    2727
    28 /*******************************************************************************
    29 *   Header Files                                                               *
    30 *******************************************************************************/
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3131#include <VBox/sup.h>
    3232#include <VBox/err.h>
  • trunk/src/VBox/HostDrivers/Support/testcase/tstInit.cpp

    r56293 r57358  
    2626
    2727
    28 /*******************************************************************************
    29 *   Header Files                                                               *
    30 *******************************************************************************/
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3131#include <VBox/sup.h>
    3232#include <VBox/err.h>
  • trunk/src/VBox/HostDrivers/Support/testcase/tstInt.cpp

    r56293 r57358  
    2626
    2727
    28 /*******************************************************************************
    29 *   Header Files                                                               *
    30 *******************************************************************************/
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3131#include <VBox/sup.h>
    3232#include <VBox/vmm/vm.h>
  • trunk/src/VBox/HostDrivers/Support/testcase/tstLow.cpp

    r56293 r57358  
    2626
    2727
    28 /*******************************************************************************
    29 *   Header Files                                                               *
    30 *******************************************************************************/
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3131#include <VBox/sup.h>
    3232#include <VBox/param.h>
  • trunk/src/VBox/HostDrivers/Support/testcase/tstNtQueryStuff.cpp

    r56293 r57358  
    2626
    2727
    28 /*******************************************************************************
    29 *   Header Files                                                               *
    30 *******************************************************************************/
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3131#include <iprt/nt/nt-and-windows.h>
    3232#include <iprt/test.h>
     
    3434
    3535
    36 /*******************************************************************************
    37 *   Structures and Typedefs                                                    *
    38 *******************************************************************************/
     36/*********************************************************************************************************************************
     37*   Structures and Typedefs                                                                                                      *
     38*********************************************************************************************************************************/
    3939typedef struct FLAGDESC
    4040{
     
    4646
    4747
    48 /*******************************************************************************
    49 *   Global Variables                                                           *
    50 *******************************************************************************/
     48/*********************************************************************************************************************************
     49*   Global Variables                                                                                                             *
     50*********************************************************************************************************************************/
    5151static RTTEST g_hTest = NIL_RTTEST;
    5252static HANDLE g_hProcess = NULL;
  • trunk/src/VBox/HostDrivers/Support/testcase/tstPage.cpp

    r56293 r57358  
    2626
    2727
    28 /*******************************************************************************
    29 *   Header Files                                                               *
    30 *******************************************************************************/
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3131#include <VBox/sup.h>
    3232#include <VBox/param.h>
  • trunk/src/VBox/HostDrivers/Support/testcase/tstPin.cpp

    r56990 r57358  
    2626
    2727
    28 /*******************************************************************************
    29 *   Header Files                                                               *
    30 *******************************************************************************/
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3131#include <VBox/sup.h>
    3232#include <VBox/param.h>
  • trunk/src/VBox/HostDrivers/Support/testcase/tstSupLoadModule.cpp

    r56293 r57358  
    2626
    2727
    28 /*******************************************************************************
    29 *   Header Files                                                               *
    30 *******************************************************************************/
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3131#include <VBox/sup.h>
    3232#include <VBox/err.h>
  • trunk/src/VBox/HostDrivers/Support/testcase/tstSupSem-Zombie.cpp

    r56293 r57358  
    2626
    2727
    28 /*******************************************************************************
    29 *   Header Files                                                               *
    30 *******************************************************************************/
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3131#include <VBox/sup.h>
    3232
     
    4343
    4444
    45 /*******************************************************************************
    46 *   Structures and Typedefs                                                    *
    47 *******************************************************************************/
     45/*********************************************************************************************************************************
     46*   Structures and Typedefs                                                                                                      *
     47*********************************************************************************************************************************/
    4848static PSUPDRVSESSION   g_pSession;
    4949static RTTEST           g_hTest;
  • trunk/src/VBox/HostDrivers/Support/testcase/tstSupSem.cpp

    r57004 r57358  
    2626
    2727
    28 /*******************************************************************************
    29 *   Header Files                                                               *
    30 *******************************************************************************/
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3131#include <VBox/sup.h>
    3232
     
    4444
    4545
    46 /*******************************************************************************
    47 *   Structures and Typedefs                                                    *
    48 *******************************************************************************/
     46/*********************************************************************************************************************************
     47*   Structures and Typedefs                                                                                                      *
     48*********************************************************************************************************************************/
    4949static PSUPDRVSESSION   g_pSession;
    5050static RTTEST           g_hTest;
  • trunk/src/VBox/HostDrivers/Support/testcase/tstSupTscDelta.cpp

    r56740 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#include <VBox/sup.h>
    3132#include <VBox/err.h>
  • trunk/src/VBox/HostDrivers/Support/win/SUPDrv-win.cpp

    r57303 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#define IPRT_NT_MAP_TO_ZW
    3132#define LOG_GROUP LOG_GROUP_SUP_DRV
     
    5556
    5657
    57 /*******************************************************************************
    58 *   Defined Constants And Macros                                               *
    59 *******************************************************************************/
     58/*********************************************************************************************************************************
     59*   Defined Constants And Macros                                                                                                 *
     60*********************************************************************************************************************************/
    6061/** The support service name. */
    6162#define SERVICE_NAME    "VBoxDrv"
     
    8687
    8788
    88 /*******************************************************************************
    89 *   Structures and Typedefs                                                    *
    90 *******************************************************************************/
     89/*********************************************************************************************************************************
     90*   Structures and Typedefs                                                                                                      *
     91*********************************************************************************************************************************/
    9192/**
    9293 * Device extension used by VBoxDrvU.
     
    273274
    274275
    275 /*******************************************************************************
    276 *   Internal Functions                                                         *
    277 *******************************************************************************/
     276/*********************************************************************************************************************************
     277*   Internal Functions                                                                                                           *
     278*********************************************************************************************************************************/
    278279static void     _stdcall   VBoxDrvNtUnload(PDRIVER_OBJECT pDrvObj);
    279280static NTSTATUS _stdcall   VBoxDrvNtCreate(PDEVICE_OBJECT pDevObj, PIRP pIrp);
     
    308309
    309310
    310 /*******************************************************************************
    311 *   Exported Functions                                                         *
    312 *******************************************************************************/
     311/*********************************************************************************************************************************
     312*   Exported Functions                                                                                                           *
     313*********************************************************************************************************************************/
    313314RT_C_DECLS_BEGIN
    314315ULONG _stdcall DriverEntry(PDRIVER_OBJECT pDrvObj, PUNICODE_STRING pRegPath);
     
    316317
    317318
    318 /*******************************************************************************
    319 *   Global Variables                                                           *
    320 *******************************************************************************/
     319/*********************************************************************************************************************************
     320*   Global Variables                                                                                                             *
     321*********************************************************************************************************************************/
    321322/** Pointer to the system device instance. */
    322323static PDEVICE_OBJECT g_pDevObjSys = NULL;
  • trunk/src/VBox/HostDrivers/Support/win/SUPHardenedVerifyImage-win.cpp

    r57165 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#ifdef IN_RING0
    3132# define IPRT_NT_MAP_TO_ZW
     
    6061
    6162
    62 /*******************************************************************************
    63 *   Defined Constants And Macros                                               *
    64 *******************************************************************************/
     63/*********************************************************************************************************************************
     64*   Defined Constants And Macros                                                                                                 *
     65*********************************************************************************************************************************/
    6566/** The size of static hash (output) buffers.
    6667 * Avoids dynamic allocations and cleanups for of small buffers as well as extra
     
    7677
    7778
    78 /*******************************************************************************
    79 *   Structures and Typedefs                                                    *
    80 *******************************************************************************/
     79/*********************************************************************************************************************************
     80*   Structures and Typedefs                                                                                                      *
     81*********************************************************************************************************************************/
    8182
    8283#ifdef IN_RING3
     
    104105
    105106
    106 /*******************************************************************************
    107 *   Global Variables                                                           *
    108 *******************************************************************************/
     107/*********************************************************************************************************************************
     108*   Global Variables                                                                                                             *
     109*********************************************************************************************************************************/
    109110/** The build certificate. */
    110111static RTCRX509CERTIFICATE  g_BuildX509Cert;
     
    196197
    197198
    198 /*******************************************************************************
    199 *   Internal Functions                                                         *
    200 *******************************************************************************/
     199/*********************************************************************************************************************************
     200*   Internal Functions                                                                                                           *
     201*********************************************************************************************************************************/
    201202#ifdef IN_RING3
    202203static int supR3HardNtViCallWinVerifyTrust(HANDLE hFile, PCRTUTF16 pwszName, uint32_t fFlags, PRTERRINFO pErrInfo,
  • trunk/src/VBox/HostDrivers/Support/win/SUPHardenedVerifyProcess-win.cpp

    r57351 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#ifdef IN_RING0
    3132# define IPRT_NT_MAP_TO_ZW
     
    5253
    5354
    54 /*******************************************************************************
    55 *   Structures and Typedefs                                                    *
    56 *******************************************************************************/
     55/*********************************************************************************************************************************
     56*   Structures and Typedefs                                                                                                      *
     57*********************************************************************************************************************************/
    5758/**
    5859 * Virtual address space region.
     
    169170
    170171
    171 /*******************************************************************************
    172 *   Global Variables                                                           *
    173 *******************************************************************************/
     172/*********************************************************************************************************************************
     173*   Global Variables                                                                                                             *
     174*********************************************************************************************************************************/
    174175/**
    175176 * System DLLs allowed to be loaded into the process.
  • trunk/src/VBox/HostDrivers/Support/win/SUPLib-win.cpp

    r56293 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#define LOG_GROUP LOG_GROUP_SUP
    3132#ifdef IN_SUP_HARDENED_R3
     
    5758
    5859
    59 /*******************************************************************************
    60 *   Defined Constants And Macros                                               *
    61 *******************************************************************************/
     60/*********************************************************************************************************************************
     61*   Defined Constants And Macros                                                                                                 *
     62*********************************************************************************************************************************/
    6263/** The support service name. */
    6364#define SERVICE_NAME    "VBoxDrv"
    6465
    6566
    66 /*******************************************************************************
    67 *   Internal Functions                                                         *
    68 *******************************************************************************/
     67/*********************************************************************************************************************************
     68*   Internal Functions                                                                                                           *
     69*********************************************************************************************************************************/
    6970#ifndef IN_SUP_HARDENED_R3
    7071static int suplibOsCreateService(void);
     
    8081#endif
    8182
    82 /*******************************************************************************
    83 *   Global Variables                                                           *
    84 *******************************************************************************/
     83
     84/*********************************************************************************************************************************
     85*   Global Variables                                                                                                             *
     86*********************************************************************************************************************************/
    8587static bool g_fHardenedVerifyInited = false;
    8688
  • trunk/src/VBox/HostDrivers/Support/win/SUPR0IdcClient-win.c

    r56293 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#include "../SUPR0IdcClientInternal.h"
    3132#include <VBox/err.h>
    3233
    3334
    34 /*******************************************************************************
    35 *   Defined Constants And Macros                                               *
    36 *******************************************************************************/
     35/*********************************************************************************************************************************
     36*   Defined Constants And Macros                                                                                                 *
     37*********************************************************************************************************************************/
    3738/** NT Device name. */
    3839#define DEVICE_NAME_NT   L"\\Device\\VBoxDrv"
  • trunk/src/VBox/HostDrivers/Support/win/SUPR3HardenedMain-win.cpp

    r57201 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#include <iprt/nt/nt-and-windows.h>
    3132#include <AccCtrl.h>
     
    6162
    6263
    63 /*******************************************************************************
    64 *   Defined Constants And Macros                                               *
    65 *******************************************************************************/
     64/*********************************************************************************************************************************
     65*   Defined Constants And Macros                                                                                                 *
     66*********************************************************************************************************************************/
    6667/** The first argument of a respawed stub when respawned for the first time.
    6768 * This just needs to be unique enough to avoid most confusion with real
     
    9899
    99100
    100 /*******************************************************************************
    101 *   Structures and Typedefs                                                    *
    102 *******************************************************************************/
     101/*********************************************************************************************************************************
     102*   Structures and Typedefs                                                                                                      *
     103*********************************************************************************************************************************/
    103104/**
    104105 * Security descriptor cleanup structure.
     
    255256
    256257
    257 /*******************************************************************************
    258 *   Global Variables                                                           *
    259 *******************************************************************************/
     258/*********************************************************************************************************************************
     259*   Global Variables                                                                                                             *
     260*********************************************************************************************************************************/
    260261/** Process parameters.  Specified by parent if VM process, see
    261262 *  supR3HardenedVmProcessInit. */
     
    372373
    373374
    374 /*******************************************************************************
    375 *   Internal Functions                                                         *
    376 *******************************************************************************/
     375/*********************************************************************************************************************************
     376*   Internal Functions                                                                                                           *
     377*********************************************************************************************************************************/
    377378static NTSTATUS supR3HardenedScreenImage(HANDLE hFile, bool fImage, bool fIgnoreArch, PULONG pfAccess, PULONG pfProtect,
    378379                                         bool *pfCallRealApi, const char *pszCaller, bool fAvoidWinVerifyTrust,
  • trunk/src/VBox/HostDrivers/Support/win/SUPR3HardenedMainImports-win.cpp

    r56732 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#include <iprt/nt/nt-and-windows.h>
    3132
     
    4142
    4243
    43 /*******************************************************************************
    44 *   Defined Constants And Macros                                               *
    45 *******************************************************************************/
     44/*********************************************************************************************************************************
     45*   Defined Constants And Macros                                                                                                 *
     46*********************************************************************************************************************************/
    4647#define SUPHARNT_COMMENT(a_Blah) /* nothing */
    4748
     
    6061
    6162
    62 /*******************************************************************************
    63 *   Defined Constants And Macros                                               *
    64 *******************************************************************************/
     63/*********************************************************************************************************************************
     64*   Defined Constants And Macros                                                                                                 *
     65*********************************************************************************************************************************/
    6566/**
    6667 * Import function entry.
  • trunk/src/VBox/HostDrivers/Support/win/SUPR3HardenedNoCrt-win.cpp

    r56293 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#include <iprt/nt/nt-and-windows.h>
    3132#include <AccCtrl.h>
  • trunk/src/VBox/HostDrivers/Support/win/SUPSvc-win.cpp

    r56293 r57358  
    2525 */
    2626
    27 /*******************************************************************************
    28 *   Header Files                                                               *
    29 *******************************************************************************/
     27
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3031#define LOG_GROUP   LOG_GROUP_SUP
    3132#include <Windows.h>
     
    4647
    4748
    48 /*******************************************************************************
    49 *   Defined Constants And Macros                                               *
    50 *******************************************************************************/
     49/*********************************************************************************************************************************
     50*   Defined Constants And Macros                                                                                                 *
     51*********************************************************************************************************************************/
    5152/** The service name. */
    5253#define SUPSVC_SERVICE_NAME             "VBoxSupSvc"
     
    5556
    5657
    57 /*******************************************************************************
    58 *   Global Variables                                                           *
    59 *******************************************************************************/
     58/*********************************************************************************************************************************
     59*   Global Variables                                                                                                             *
     60*********************************************************************************************************************************/
    6061/** The service control handler handle. */
    6162static SERVICE_STATUS_HANDLE g_hSupSvcWinCtrlHandler = NULL;
     
    6667
    6768
    68 /*******************************************************************************
    69 *   Internal Functions                                                         *
    70 *******************************************************************************/
     69/*********************************************************************************************************************************
     70*   Internal Functions                                                                                                           *
     71*********************************************************************************************************************************/
    7172static SC_HANDLE supSvcWinOpenSCManager(const char *pszAction, DWORD dwAccess);
    7273
  • trunk/src/VBox/HostDrivers/Support/win/VBoxSupLib-win.cpp

    r56293 r57358  
    2626
    2727
    28 /*******************************************************************************
    29 *   Header Files                                                               *
    30 *******************************************************************************/
     28/*********************************************************************************************************************************
     29*   Header Files                                                                                                                 *
     30*********************************************************************************************************************************/
    3131#include <iprt/nt/nt-and-windows.h>
    3232
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