vbox的更動 43403 路徑 trunk/src/VBox/Runtime/r0drv
- 時間撮記:
- 2012-9-22 上午11:48:24 (12 年 以前)
- 位置:
- trunk/src/VBox/Runtime/r0drv
- 檔案:
-
- 修改 12 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Runtime/r0drv/haiku/alloc-r0drv-haiku.c
r43366 r43403 89 89 cb = RT_ALIGN_Z(cb, PAGE_SIZE); 90 90 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, 93 92 B_READ_AREA | B_WRITE_AREA); 94 95 93 if (area >= 0) 96 94 { -
trunk/src/VBox/Runtime/r0drv/haiku/assert-r0drv-haiku.c
r43373 r43403 66 66 panic("%s%s", g_szRTAssertMsg1, g_szRTAssertMsg2); 67 67 } 68 -
trunk/src/VBox/Runtime/r0drv/haiku/initterm-r0drv-haiku.c
r43366 r43403 46 46 { 47 47 } 48 -
trunk/src/VBox/Runtime/r0drv/haiku/memobj-r0drv-haiku.c
r43366 r43403 97 97 #endif 98 98 99 99 100 int rtR0MemObjNativeFree(RTR0MEMOBJ pMem) 100 101 { … … 148 149 return VINF_SUCCESS; 149 150 } 151 150 152 151 153 static int rtR0MemObjNativeAllocArea(PPRTR0MEMOBJINTERNAL ppMem, size_t cb, … … 474 476 475 477 476 int rtR0MemObjNativeMapUser(PPRTR0MEMOBJINTERNAL ppMem, RTR0MEMOBJ pMemToMap, RTR3PTR R3PtrFixed, size_t uAlignment, unsigned fProt, RTR0PROCESS R0Process) 478 int rtR0MemObjNativeMapUser(PPRTR0MEMOBJINTERNAL ppMem, RTR0MEMOBJ pMemToMap, RTR3PTR R3PtrFixed, size_t uAlignment, 479 unsigned fProt, RTR0PROCESS R0Process) 477 480 { 478 481 #if 0 … … 658 661 } 659 662 } 663 -
trunk/src/VBox/Runtime/r0drv/haiku/process-r0drv-haiku.c
r43363 r43403 44 44 return (RTR0PROCESS)(team_id)getpid(); 45 45 } 46 -
trunk/src/VBox/Runtime/r0drv/haiku/semevent-r0drv-haiku.c
r43366 r43403 262 262 return 1000; 263 263 } 264 -
trunk/src/VBox/Runtime/r0drv/haiku/semmutex-r0drv-haiku.c
r43366 r43403 104 104 105 105 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 */ 107 115 static int rtSemMutexRequestEx(RTSEMMUTEX hMutexSem, uint32_t fFlags, uint64_t uTimeout) 108 116 { -
trunk/src/VBox/Runtime/r0drv/haiku/spinlock-r0drv-haiku.c
r43366 r43403 144 144 RTSpinlockRelease(Spinlock); 145 145 } 146 -
trunk/src/VBox/Runtime/r0drv/haiku/the-haiku-kernel.h
r43366 r43403 62 62 typedef struct 63 63 { 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.) */ 67 66 #if 0 68 67 Thread *all_next; … … 87 86 88 87 extern void thread_yield(bool force); 89 90 91 #if 092 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_ABSOLUTE112 #define CALLOUT_FLAG_ABSOLUTE 2113 #endif114 #endif115 88 116 89 RT_C_DECLS_END -
trunk/src/VBox/Runtime/r0drv/haiku/thread2-r0drv-haiku.c
r43366 r43403 129 129 return RTErrConvertFromHaikuKernReturn(NativeThread); 130 130 } 131 -
trunk/src/VBox/Runtime/r0drv/haiku/time-r0drv-haiku.c
r43366 r43403 77 77 return RTTimeSpecSetNano(pTime, real_time_clock_usecs() * 1000); 78 78 } 79 -
trunk/src/VBox/Runtime/r0drv/solaris/memobj-r0drv-solaris.c
r41968 r43403 144 144 seg_t KernelSeg; 145 145 146 /* 147 * 16777215 terabytes of total memory for all VMs or 148 * restart 8000 1GB VMs 2147483 times until wraparound! 149 */ 146 150 mutex_enter(&g_OffsetMtx); 147 151 AssertCompileSize(u_offset_t, sizeof(uint64_t)); NOREF(RTASSERTVAR);
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器