Changeset 33540 in vbox for trunk/src/VBox/Runtime/r0drv/linux
- Timestamp:
- Oct 28, 2010 9:27:05 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 67140
- Location:
- trunk/src/VBox/Runtime/r0drv/linux
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
r33011 r33540 79 79 * This means it has to be given back as one chunk. */ 80 80 bool fContiguous; 81 /** Set if we've vmap'ed the dmemory into ring-0. */81 /** Set if we've vmap'ed the memory into ring-0. */ 82 82 bool fMappedToRing0; 83 83 /** The pages in the apPages array. */ … … 695 695 /* 696 696 * There are two clear cases and that's the <=16MB and anything-goes ones. 697 * When the physical address limit is somewhere in between those two we'll697 * When the physical address limit is somewhere in-between those two we'll 698 698 * just have to try, starting with HIGHUSER and working our way thru the 699 699 * different types, hoping we'll get lucky. … … 798 798 * Get user pages. 799 799 */ 800 rc = get_user_pages(pTask, /* Task for fault ac ounting. */800 rc = get_user_pages(pTask, /* Task for fault accounting. */ 801 801 pTask->mm, /* Whose pages. */ 802 802 R3Ptr, /* Where from. */ -
trunk/src/VBox/Runtime/r0drv/linux/mpnotification-r0drv-linux.c
r28800 r33540 114 114 115 115 /* 116 * Pick the earlies possible offline event.116 * Pick the earliest possible offline event. 117 117 * The only important thing here is that we get the event and that 118 118 * it's exactly one. -
trunk/src/VBox/Runtime/r0drv/linux/semeventmulti-r0drv-linux.c
r33373 r33540 181 181 182 182 /* 183 * Signal the event object. The cause of the par noia here is racing to try183 * Signal the event object. The cause of the paranoia here is racing to try 184 184 * deal with racing RTSemEventMultiSignal calls (should probably be 185 185 * forbidden, but it's relatively easy to handle). -
trunk/src/VBox/Runtime/r0drv/linux/time-r0drv-linux.c
r28800 r33540 127 127 } 128 128 129 /* calcu ate the return value */129 /* calculate the return value */ 130 130 u64 = ulNow; 131 131 u64 *= TICK_NSEC; -
trunk/src/VBox/Runtime/r0drv/linux/timer-r0drv-linux.c
r33011 r33540 630 630 631 631 /* 632 * Some state change occur ed while we were in the callback routine.632 * Some state change occurred while we were in the callback routine. 633 633 */ 634 634 for (;;) … … 773 773 774 774 /* 775 * Some state change occur ed while we were in the callback routine.775 * Some state change occurred while we were in the callback routine. 776 776 */ 777 777 for (;;) … … 1501 1501 * If this is running on ALL cpus, we'll have to register a callback 1502 1502 * for MP events (so timers can be started/stopped on cpus going 1503 * online/offline). We also create the spinlock for sync rhonizing1503 * online/offline). We also create the spinlock for synchronizing 1504 1504 * stop/start/mp-event. 1505 1505 */ -
trunk/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h
r33155 r33540 57 57 { 58 58 #ifdef IPRT_LINUX_HAS_HRTIMER 59 /** The timeout when fHighRes is true. Absolute, so no updat eing. */59 /** The timeout when fHighRes is true. Absolute, so no updating. */ 60 60 ktime_t KtTimeout; 61 61 #endif … … 194 194 * 195 195 * This must be called before rtR0SemLnxWaitDoIt, and the caller should check 196 * the exit conditions in between the two calls.196 * the exit conditions in-between the two calls. 197 197 * 198 198 * @param pWait The wait structure.
Note:
See TracChangeset
for help on using the changeset viewer.