Changeset 1816 in vbox for trunk/src/VBox/Runtime/r0drv
- Timestamp:
- Mar 29, 2007 6:59:35 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 19999
- Location:
- trunk/src/VBox/Runtime/r0drv
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/alloc-r0drv.h
r289 r1816 25 25 #include <iprt/cdefs.h> 26 26 #include <iprt/types.h> 27 #include "internal/magics.h" 27 28 28 29 __BEGIN_DECLS … … 43 44 } RTMEMHDR, *PRTMEMHDR; 44 45 45 /** Magic number for heap blocks. (Edgar Allan Poe) */46 #define RTMEMHDR_MAGIC 0x1809011947 46 48 47 /** @name RTMEMHDR::fFlags. -
trunk/src/VBox/Runtime/r0drv/darwin/semaphore-r0drv-darwin.cpp
r1189 r1816 26 26 *******************************************************************************/ 27 27 #include "the-darwin-kernel.h" 28 28 29 #include <iprt/semaphore.h> 29 30 #include <iprt/alloc.h> … … 31 32 #include <iprt/asm.h> 32 33 #include <iprt/err.h> 34 35 #include "internal/magics.h" 33 36 34 37 … … 53 56 } RTSEMEVENTINTERNAL, *PRTSEMEVENTINTERNAL; 54 57 55 /** Magic for the Darwin event semaphore structure. (Neil Gaiman) */56 #define RTSEMEVENT_MAGIC 0x1960111057 58 58 59 59 /** … … 74 74 } RTSEMEVENTMULTIINTERNAL, *PRTSEMEVENTMULTIINTERNAL; 75 75 76 /** Magic for the Darwin multiple release event semaphore structure. (Isaac Asimov) */77 #define RTSEMEVENTMULTI_MAGIC 0x1920010278 79 76 80 77 #if 0 /** @todo */ … … 90 87 } RTSEMMUTEXINTERNAL, *PRTSEMMUTEXINTERNAL; 91 88 92 /** Magic for the Darwin mutex semaphore structure. (Douglas Adams) */93 #define RTSEMMUTEX_MAGIC 0x1952031194 89 #endif 95 90 … … 106 101 } RTSEMFASTMUTEXINTERNAL, *PRTSEMFASTMUTEXINTERNAL; 107 102 108 /** Magic value for RTSEMFASTMUTEXINTERNAL::u32Magic (John Ronald Reuel Tolkien). */109 #define RTSEMFASTMUTEX_MAGIC 0x18920102110 103 111 104 -
trunk/src/VBox/Runtime/r0drv/darwin/spinlock-r0drv-darwin.cpp
r1 r1816 31 31 #include <iprt/asm.h> 32 32 33 #include "internal/magics.h" 34 33 35 34 36 /******************************************************************************* … … 45 47 lck_spin_t *pSpinLock; 46 48 } RTSPINLOCKINTERNAL, *PRTSPINLOCKINTERNAL; 47 48 /** Magic value for RTSPINLOCKINTERNAL::u32Magic. (Terry Pratchett) */49 #define RTSPINLOCK_MAGIC 0x1948042850 49 51 50 -
trunk/src/VBox/Runtime/r0drv/linux/semaphore-r0drv-linux.c
r1 r1816 32 32 #include <iprt/err.h> 33 33 34 #include "internal/magics.h" 35 34 36 35 37 /******************************************************************************* … … 48 50 wait_queue_head_t Head; 49 51 } RTSEMEVENTINTERNAL, *PRTSEMEVENTINTERNAL; 50 51 /** Magic for the Linux event semaphore structure. (Neil Gaiman) */52 #define RTSEMEVENT_MAGIC 0x1960111053 52 54 53 … … 68 67 } RTSEMMUTEXINTERNAL, *PRTSEMMUTEXINTERNAL; 69 68 70 /** Magic for the Linux mutex semaphore structure. (Douglas Adams) */71 #define RTSEMMUTEX_MAGIC 0x1952031172 73 69 74 70 /** … … 82 78 struct semaphore Semaphore; 83 79 } RTSEMFASTMUTEXINTERNAL, *PRTSEMFASTMUTEXINTERNAL; 84 85 /** Magic value for RTSEMFASTMUTEXINTERNAL::u32Magic (John Ronald Reuel Tolkien). */86 #define RTSEMFASTMUTEX_MAGIC 0x1892010287 80 88 81 -
trunk/src/VBox/Runtime/r0drv/linux/spinlock-r0drv-linux.c
r1 r1816 25 25 *******************************************************************************/ 26 26 #include "the-linux-kernel.h" 27 27 28 #include <iprt/spinlock.h> 28 29 #include <iprt/err.h> … … 30 31 #include <iprt/assert.h> 31 32 #include <iprt/asm.h> 33 #include "internal/magics.h" 32 34 33 #include <linux/spinlock.h> 35 #include <linux/spinlock.h> /** @todo why is this here and not in the-linux-kernel.h? */ 36 34 37 35 38 /******************************************************************************* … … 50 53 #endif 51 54 } RTSPINLOCKINTERNAL, *PRTSPINLOCKINTERNAL; 52 53 /** Magic value for RTSPINLOCKINTERNAL::u32Magic. (Terry Pratchett) */54 #define RTSPINLOCK_MAGIC 0x1948042855 55 56 56 -
trunk/src/VBox/Runtime/r0drv/nt/semaphore-r0drv-nt.cpp
r1 r1816 32 32 #include <iprt/err.h> 33 33 34 #include "internal/magics.h" 35 34 36 35 37 /******************************************************************************* … … 47 49 } RTSEMEVENTINTERNAL, *PRTSEMEVENTINTERNAL; 48 50 49 /** Magic for the NT event semaphore structure. (Neil Gaiman) */50 #define RTSEMEVENT_MAGIC 0x1960111051 51 52 52 … … 67 67 } RTSEMMUTEXINTERNAL, *PRTSEMMUTEXINTERNAL; 68 68 69 /** Magic for the NT mutex semaphore structure. (Douglas Adams) */70 #define RTSEMMUTEX_MAGIC 0x1952031171 69 72 70 … … 82 80 } RTSEMFASTMUTEXINTERNAL, *PRTSEMFASTMUTEXINTERNAL; 83 81 84 /** Magic value for RTSEMFASTMUTEXINTERNAL::u32Magic (John Ronald Reuel Tolkien). */85 #define RTSEMFASTMUTEX_MAGIC 0x1892010286 82 87 83 -
trunk/src/VBox/Runtime/r0drv/nt/spinlock-r0drv-nt.cpp
r1 r1816 25 25 *******************************************************************************/ 26 26 #include "the-nt-kernel.h" 27 27 28 #include <iprt/spinlock.h> 28 29 #include <iprt/err.h> … … 30 31 #include <iprt/assert.h> 31 32 #include <iprt/asm.h> 33 34 #include "internal/magics.h" 32 35 33 36 … … 45 48 KSPIN_LOCK Spinlock; 46 49 } RTSPINLOCKINTERNAL, *PRTSPINLOCKINTERNAL; 47 48 /** Magic value for RTSPINLOCKINTERNAL::u32Magic. (Terry Pratchett) */49 #define RTSPINLOCK_MAGIC 0x1948042850 50 51 51 -
trunk/src/VBox/Runtime/r0drv/os2/semevent-r0drv-os2.cpp
r1191 r1816 41 41 #include <iprt/err.h> 42 42 43 #include "internal/magics.h" 44 43 45 44 46 /******************************************************************************* … … 61 63 SpinLock_t Spinlock; 62 64 } RTSEMEVENTINTERNAL, *PRTSEMEVENTINTERNAL; 63 64 /** Magic for the OS/2 event semaphore structure. (Neil Gaiman) */65 #define RTSEMEVENT_MAGIC 0x1960111066 65 67 66 -
trunk/src/VBox/Runtime/r0drv/os2/semeventmulti-r0drv-os2.cpp
r1191 r1816 40 40 #include <iprt/assert.h> 41 41 #include <iprt/err.h> 42 #include "internal/magics.h" 42 43 43 44 … … 61 62 SpinLock_t Spinlock; 62 63 } RTSEMEVENTMULTIINTERNAL, *PRTSEMEVENTMULTIINTERNAL; 63 64 /** Magic for the OS/2 multiple release event semaphore structure. (Isaac Asimov) */65 #define RTSEMEVENTMULTI_MAGIC 0x1920010266 64 67 65 -
trunk/src/VBox/Runtime/r0drv/os2/semfastmutex-r0drv-os2.cpp
r1191 r1816 40 40 #include <iprt/asm.h> 41 41 42 #include "internal/magics.h" 43 42 44 43 45 /******************************************************************************* … … 54 56 MutexLock_t Mtx; 55 57 } RTSEMFASTMUTEXINTERNAL, *PRTSEMFASTMUTEXINTERNAL; 56 57 /** Magic value for RTSEMFASTMUTEXINTERNAL::u32Magic (John Ronald Reuel Tolkien). */58 #define RTSEMFASTMUTEX_MAGIC 0x1892010259 /** Dead magic value. */60 #define RTSEMFASTMUTEX_MAGIC_DEAD 0x0000000 /// @todo61 58 62 59 -
trunk/src/VBox/Runtime/r0drv/os2/spinlock-r0drv-os2.cpp
r1191 r1816 40 40 #include <iprt/asm.h> 41 41 42 #include "internal/magics.h" 43 42 44 43 45 /******************************************************************************* … … 54 56 SpinLock_t Spinlock; 55 57 } RTSPINLOCKINTERNAL, *PRTSPINLOCKINTERNAL; 56 57 /** Magic value for RTSPINLOCKINTERNAL::u32Magic. (Terry Pratchett) */58 #define RTSPINLOCK_MAGIC 0x1948042859 60 58 61 59 -
trunk/src/VBox/Runtime/r0drv/os2/timer-r0drv-os2.cpp
r1191 r1816 42 42 #include <iprt/assert.h> 43 43 #include <iprt/alloc.h> 44 45 #include "internal/magics.h" 44 46 45 47 … … 79 81 } RTTIMER; 80 82 81 /** Magic number for timer handles. (Jared Mason Diamond) */82 #define RTTIMER_MAGIC 0x1937091083 84 83 85 84 /*******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.