VirtualBox

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


Ignore:
Timestamp:
Oct 28, 2010 9:27:05 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
67140
Message:

*: spelling fixes, thanks Timeless!

Location:
trunk/src/VBox/Runtime/r0drv
Files:
19 edited

Legend:

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

    r32348 r33540  
    188188 * @param   HCPhys      The address to start reading at.
    189189 * @param   cb          How many bytes to read.
    190  * @param   pvDst       Where to put the bytes. This is zero'ed on failure.
     190 * @param   pvDst       Where to put the bytes. This is zero'd on failure.
    191191 */
    192192static void rtR0MemObjDarwinReadPhys(RTHCPHYS HCPhys, size_t cb, void *pvDst)
     
    824824                        rtR0MemObjDarwinTouchPages(pv, cbSub);
    825825                        /** @todo First, the memory should've been mapped by now, and second, it
    826                          *        shouild have the wired attribute in the PTE (bit 9). Neither is
     826                         *        should have the wired attribute in the PTE (bit 9). Neither is
    827827                         *        seems to be the case. The disabled locking code doesn't make any
    828828                         *        difference, which is extremely odd, and breaks
  • trunk/src/VBox/Runtime/r0drv/freebsd/alloc-r0drv-freebsd.c

    r32708 r33540  
    158158                      _4G-1,                /* highest physical address */
    159159                      PAGE_SIZE,            /* alignment. */
    160                       0);                   /* boundrary */
     160                      0);                   /* boundary */
    161161    if (pv)
    162162    {
  • trunk/src/VBox/Runtime/r0drv/freebsd/memobj-r0drv-freebsd.c

    r32348 r33540  
    375375                                        _4G-1,                /* highest physical address */
    376376                                        PAGE_SIZE,            /* alignment. */
    377                                         0);                   /* boundrary */
     377                                        0);                   /* boundary */
    378378    if (pMemFreeBSD->Core.pv)
    379379    {
     
    492492                                        _4G-1,                /* highest physical address */
    493493                                        uAlignment,           /* alignment. */
    494                                         0);                   /* boundrary */
     494                                        0);                   /* boundary */
    495495    if (pMemFreeBSD->Core.pv)
    496496    {
  • trunk/src/VBox/Runtime/r0drv/freebsd/mp-r0drv-freebsd.c

    r29499 r33540  
    161161RTDECL(int) RTMpOnOthers(PFNRTMPWORKER pfnWorker, void *pvUser1, void *pvUser2)
    162162{
    163     /* Will panic if no rendezvouing cpus, so check up front. */
     163    /* Will panic if no rendezvousing cpus, so check up front. */
    164164    if (RTMpGetOnlineCount() > 1)
    165165    {
     
    209209    RTMPARGS    Args;
    210210
    211     /* Will panic if no rendezvouing cpus, so make sure the cpu is online. */
     211    /* Will panic if no rendezvousing cpus, so make sure the cpu is online. */
    212212    if (!RTMpIsCpuOnline(idCpu))
    213213        return VERR_CPU_NOT_FOUND;
     
    245245    cpumask_t   Mask;
    246246
    247     /* Will panic if no rendezvouing cpus, so make sure the cpu is online. */
     247    /* Will panic if no rendezvousing cpus, so make sure the cpu is online. */
    248248    if (!RTMpIsCpuOnline(idCpu))
    249249        return VERR_CPU_NOT_FOUND;
  • trunk/src/VBox/Runtime/r0drv/freebsd/the-freebsd-kernel.h

    r29878 r33540  
    7272
    7373/**
    74  * Wrappers arount the sleepq_ KPI.
     74 * Wrappers around the sleepq_ KPI.
    7575 */
    7676#if __FreeBSD_version >= 800026
  • trunk/src/VBox/Runtime/r0drv/freebsd/timer-r0drv-freebsd.c

    r32572 r33540  
    171171
    172172    /*
    173      * Calc when it should start fireing.
     173     * Calc when it should start firing.
    174174     */
    175175    u64First += RTTimeNanoTS();
  • trunk/src/VBox/Runtime/r0drv/initterm-r0drv.cpp

    r28800 r33540  
    5757
    5858/**
    59  * Initalizes the ring-0 driver runtime library.
     59 * Initializes the ring-0 driver runtime library.
    6060 *
    6161 * @returns iprt status code.
  • trunk/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c

    r33011 r33540  
    7979     * This means it has to be given back as one chunk. */
    8080    bool                fContiguous;
    81     /** Set if we've vmap'ed thed memory into ring-0. */
     81    /** Set if we've vmap'ed the memory into ring-0. */
    8282    bool                fMappedToRing0;
    8383    /** The pages in the apPages array. */
     
    695695    /*
    696696     * There are two clear cases and that's the <=16MB and anything-goes ones.
    697      * When the physical address limit is somewhere inbetween those two we'll
     697     * When the physical address limit is somewhere in-between those two we'll
    698698     * just have to try, starting with HIGHUSER and working our way thru the
    699699     * different types, hoping we'll get lucky.
     
    798798         * Get user pages.
    799799         */
    800         rc = get_user_pages(pTask,                  /* Task for fault acounting. */
     800        rc = get_user_pages(pTask,                  /* Task for fault accounting. */
    801801                            pTask->mm,              /* Whose pages. */
    802802                            R3Ptr,                  /* Where from. */
  • trunk/src/VBox/Runtime/r0drv/linux/mpnotification-r0drv-linux.c

    r28800 r33540  
    114114
    115115        /*
    116          * Pick the earlies possible offline event.
     116         * Pick the earliest possible offline event.
    117117         * The only important thing here is that we get the event and that
    118118         * it's exactly one.
  • trunk/src/VBox/Runtime/r0drv/linux/semeventmulti-r0drv-linux.c

    r33373 r33540  
    181181
    182182    /*
    183      * Signal the event object.  The cause of the parnoia here is racing to try
     183     * Signal the event object.  The cause of the paranoia here is racing to try
    184184     * deal with racing RTSemEventMultiSignal calls (should probably be
    185185     * forbidden, but it's relatively easy to handle).
  • trunk/src/VBox/Runtime/r0drv/linux/time-r0drv-linux.c

    r28800 r33540  
    127127        }
    128128
    129         /* calcuate the return value */
     129        /* calculate the return value */
    130130        u64 = ulNow;
    131131        u64 *= TICK_NSEC;
  • trunk/src/VBox/Runtime/r0drv/linux/timer-r0drv-linux.c

    r33011 r33540  
    630630
    631631    /*
    632      * Some state change occured while we were in the callback routine.
     632     * Some state change occurred while we were in the callback routine.
    633633     */
    634634    for (;;)
     
    773773
    774774    /*
    775      * Some state change occured while we were in the callback routine.
     775     * Some state change occurred while we were in the callback routine.
    776776     */
    777777    for (;;)
     
    15011501     * If this is running on ALL cpus, we'll have to register a callback
    15021502     * for MP events (so timers can be started/stopped on cpus going
    1503      * online/offline). We also create the spinlock for syncrhonizing
     1503     * online/offline). We also create the spinlock for synchronizing
    15041504     * stop/start/mp-event.
    15051505     */
  • trunk/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h

    r33155 r33540  
    5757    {
    5858#ifdef IPRT_LINUX_HAS_HRTIMER
    59         /** The timeout when fHighRes is true. Absolute, so no updateing. */
     59        /** The timeout when fHighRes is true. Absolute, so no updating. */
    6060        ktime_t     KtTimeout;
    6161#endif
     
    194194 *
    195195 * This must be called before rtR0SemLnxWaitDoIt, and the caller should check
    196  * the exit conditions inbetween the two calls.
     196 * the exit conditions in-between the two calls.
    197197 *
    198198 * @param   pWait               The wait structure.
  • trunk/src/VBox/Runtime/r0drv/memobj-r0drv.cpp

    r31157 r33540  
    319319
    320320    /*
    321      * Deal with mapings according to fFreeMappings.
     321     * Deal with mappings according to fFreeMappings.
    322322     */
    323323    if (    !rtR0MemObjIsMapping(pMem)
  • trunk/src/VBox/Runtime/r0drv/nt/RTTimerGetSystemGranularity-r0drv-nt.cpp

    r33155 r33540  
    4343    /*
    4444     * Get the default/max timer increment value, return it if ExSetTimerResolution
    45      * isn't available. Accoring to the sysinternals guys NtQueryTimerResolution
     45     * isn't available. According to the sysinternals guys NtQueryTimerResolution
    4646     * is only available in userland and they find it equally annoying.
    4747     */
  • trunk/src/VBox/Runtime/r0drv/os2/timer-r0drv-os2.cpp

    r32572 r33540  
    6363    uint8_t volatile        fSuspended;
    6464    /** Cleared at the start of timer processing, set when calling pfnTimer.
    65      * If any timer changes occures while doing the callback this will be used to resume the cycle. */
     65     * If any timer changes occurs while doing the callback this will be used to resume the cycle. */
    6666    bool                    fDone;
    6767    /** Callback. */
     
    237237
    238238    /*
    239      * Calc when it should start fireing and give the thread a kick so it get going.
     239     * Calc when it should start firing and give the thread a kick so it get going.
    240240     */
    241241    u64First += RTTimeNanoTS();
  • trunk/src/VBox/Runtime/r0drv/solaris/initterm-r0drv-solaris.c

    r33149 r33540  
    6464#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)
    6565        /*
    66          * Detech whether spl*() is preserving the interrupt flag or not.
     66         * Detect whether spl*() is preserving the interrupt flag or not.
    6767         * This is a problem on S10.
    6868         */
  • trunk/src/VBox/Runtime/r0drv/solaris/vbi/i86pc/os/vbi.c

    r32919 r33540  
    7272/*
    7373 * Workarounds for running on old versions of solaris with different cross call
    74  * interfaces. If we find xc_init_cpu() in the kenel, then just use the defined
     74 * interfaces. If we find xc_init_cpu() in the kernel, then just use the defined
    7575 * interfaces for xc_call() from the include file where the xc_call()
    7676 * interfaces just takes a pointer to a ulong_t array. The array must be long
     
    215215                /*
    216216                 * Our bit vector storage needs to be large enough for the
    217                  * actual number of CPUs running in the sytem.
     217                 * actual number of CPUs running in the system.
    218218                 */
    219219                if (ncpus > VBI_NCPU) {
     
    13021302                        {
    13031303                                /*
    1304                                  * get pages from kseg, the 'virtAddr' here is only for colouring but unforuntately
     1304                                 * get pages from kseg, the 'virtAddr' here is only for colouring but unfortunately
    13051305                                 * we don't have the 'virtAddr' to which this memory may be mapped.
    13061306                                 */
  • trunk/src/VBox/Runtime/r0drv/solaris/vbi/mpnotification-r0drv-solaris.c

    r28800 r33540  
    4343static vbi_cpu_watch_t *g_hVbiCpuWatch = NULL;
    4444/** Set of online cpus that is maintained by the MP callback.
    45  * This avoids locking issues quering the set from the kernel as well as
     45 * This avoids locking issues querying the set from the kernel as well as
    4646 * eliminating any uncertainty regarding the online status during the
    4747 * callback. */
Note: See TracChangeset for help on using the changeset viewer.

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