VirtualBox

vbox的更動 43403 路徑 trunk/src/VBox/Runtime/r0drv


忽略:
時間撮記:
2012-9-22 上午11:48:24 (12 年 以前)
作者:
vboxsync
訊息:

r0drv/haiku: cleanup.

位置:
trunk/src/VBox/Runtime/r0drv
檔案:
修改 12 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Runtime/r0drv/haiku/alloc-r0drv-haiku.c

    r43366 r43403  
    8989    cb = RT_ALIGN_Z(cb, PAGE_SIZE);
    9090    void *pv;
    91     area_id area = create_area("VirtualBox Contig Alloc", &pv,
    92                                B_ANY_KERNEL_ADDRESS, cb, B_32_BIT_CONTIGUOUS,
     91    area_id area = create_area("VirtualBox Contig Alloc", &pv, B_ANY_KERNEL_ADDRESS, cb, B_32_BIT_CONTIGUOUS,
    9392                               B_READ_AREA | B_WRITE_AREA);
    94 
    9593    if (area >= 0)
    9694    {
  • trunk/src/VBox/Runtime/r0drv/haiku/assert-r0drv-haiku.c

    r43373 r43403  
    6666    panic("%s%s", g_szRTAssertMsg1, g_szRTAssertMsg2);
    6767}
     68
  • trunk/src/VBox/Runtime/r0drv/haiku/initterm-r0drv-haiku.c

    r43366 r43403  
    4646{
    4747}
     48
  • trunk/src/VBox/Runtime/r0drv/haiku/memobj-r0drv-haiku.c

    r43366 r43403  
    9797#endif
    9898
     99
    99100int rtR0MemObjNativeFree(RTR0MEMOBJ pMem)
    100101{
     
    148149    return VINF_SUCCESS;
    149150}
     151
    150152
    151153static int rtR0MemObjNativeAllocArea(PPRTR0MEMOBJINTERNAL ppMem, size_t cb,
     
    474476
    475477
    476 int rtR0MemObjNativeMapUser(PPRTR0MEMOBJINTERNAL ppMem, RTR0MEMOBJ pMemToMap, RTR3PTR R3PtrFixed, size_t uAlignment, unsigned fProt, RTR0PROCESS R0Process)
     478int rtR0MemObjNativeMapUser(PPRTR0MEMOBJINTERNAL ppMem, RTR0MEMOBJ pMemToMap, RTR3PTR R3PtrFixed, size_t uAlignment,
     479                            unsigned fProt, RTR0PROCESS R0Process)
    477480{
    478481#if 0
     
    658661    }
    659662}
     663
  • trunk/src/VBox/Runtime/r0drv/haiku/process-r0drv-haiku.c

    r43363 r43403  
    4444    return (RTR0PROCESS)(team_id)getpid();
    4545}
     46
  • trunk/src/VBox/Runtime/r0drv/haiku/semevent-r0drv-haiku.c

    r43366 r43403  
    262262    return 1000;
    263263}
     264
  • trunk/src/VBox/Runtime/r0drv/haiku/semmutex-r0drv-haiku.c

    r43366 r43403  
    104104
    105105
    106 /** @todo doxygen */
     106/**
     107 * Worker function for acquiring the mutex.
     108 *
     109 * @param hMutexSem     The mutex object.
     110 * @param fFlags        Mutex flags (see RTSEMWAIT_FLAGS_*)
     111 * @param uTimeout      Timeout in units specified by the flags.
     112 *
     113 * @return IPRT status code.
     114 */
    107115static int rtSemMutexRequestEx(RTSEMMUTEX hMutexSem, uint32_t fFlags, uint64_t uTimeout)
    108116{
  • trunk/src/VBox/Runtime/r0drv/haiku/spinlock-r0drv-haiku.c

    r43366 r43403  
    144144    RTSpinlockRelease(Spinlock);
    145145}
     146
  • trunk/src/VBox/Runtime/r0drv/haiku/the-haiku-kernel.h

    r43366 r43403  
    6262typedef struct
    6363{
    64     int32            flags;            // summary of events relevant in interrupt
    65                                        // handlers (signals pending, user debugging
    66                                        // enabled, etc.)
     64    int32            flags;            /* summary of events relevant in interrupt handlers (signals pending, user debugging
     65                                          enabled, etc.) */
    6766#if 0
    6867    Thread            *all_next;
     
    8786
    8887extern void thread_yield(bool force);
    89 
    90 
    91 #if 0
    92 typedef callout_id_t (*PFNSOL_timeout_generic)(int type, void (*func)(void *),
    93                                                void *arg, hrtime_t expiration,
    94                                                hrtime_t resultion, int flags);
    95 typedef hrtime_t    (*PFNSOL_untimeout_generic)(callout_id_t id, int nowait);
    96 typedef int         (*PFNSOL_cyclic_reprogram)(cyclic_id_t id, hrtime_t expiration);
    97 
    98 
    99 /* IPRT globals. */
    100 extern bool                     g_frthaikuSplSetsEIF;
    101 extern struct ddi_dma_attr      g_haikuX86PhysMemLimits;
    102 extern RTCPUSET                 g_rtMphaikuCpuSet;
    103 extern PFNSOL_timeout_generic   g_pfnrtR0Sol_timeout_generic;
    104 extern PFNSOL_untimeout_generic g_pfnrtR0Sol_untimeout_generic;
    105 extern PFNSOL_cyclic_reprogram  g_pfnrtR0Sol_cyclic_reprogram;
    106 
    107 /* Haiku globals. */
    108 extern uintptr_t                kernelbase;
    109 
    110 /* Misc stuff from newer kernels. */
    111 #ifndef CALLOUT_FLAG_ABSOLUTE
    112 #define CALLOUT_FLAG_ABSOLUTE 2
    113 #endif
    114 #endif
    11588
    11689RT_C_DECLS_END
  • trunk/src/VBox/Runtime/r0drv/haiku/thread2-r0drv-haiku.c

    r43366 r43403  
    129129    return RTErrConvertFromHaikuKernReturn(NativeThread);
    130130}
     131
  • trunk/src/VBox/Runtime/r0drv/haiku/time-r0drv-haiku.c

    r43366 r43403  
    7777    return RTTimeSpecSetNano(pTime, real_time_clock_usecs() * 1000);
    7878}
     79
  • trunk/src/VBox/Runtime/r0drv/solaris/memobj-r0drv-solaris.c

    r41968 r43403  
    144144    seg_t           KernelSeg;
    145145
     146    /*
     147     * 16777215 terabytes of total memory for all VMs or
     148     * restart 8000 1GB VMs 2147483 times until wraparound!
     149     */
    146150    mutex_enter(&g_OffsetMtx);
    147151    AssertCompileSize(u_offset_t, sizeof(uint64_t)); NOREF(RTASSERTVAR);
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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