VirtualBox

source: vbox/trunk/src/VBox/Runtime/include/internal/magics.h@ 3699

最後變更 在這個檔案從3699是 3699,由 vboxsync 提交於 18 年 前

double underscore cleanup.

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Id
檔案大小: 2.8 KB
 
1/* $Id: magics.h 3699 2007-07-18 17:37:46Z vboxsync $ */
2/** @file
3 * innotek Portable Runtime - Internal Header Defining The Magic Numbers.
4 */
5
6/*
7 * Copyright (c) 2007 innotek GmbH
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.alldomusa.eu.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License as published by the Free Software Foundation,
13 * in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
14 * distribution. VirtualBox OSE is distributed in the hope that it will
15 * be useful, but WITHOUT ANY WARRANTY of any kind.
16 *
17 * If you received this file as part of a commercial VirtualBox
18 * distribution, then only the terms of your commercial VirtualBox
19 * license agreement apply instead of the previous paragraph.
20 *
21 */
22
23#ifndef ___internal_magics_h
24#define ___internal_magics_h
25
26/** @name Magic Numbers.
27 * @{ */
28
29/** The value of RTDIR::u32Magic. (Michael Ende) */
30#define RTDIR_MAGIC 0x19291112
31/** The value of RTDIR::u32Magic after RTDirClose(). */
32#define RTDIR_MAGIC_DEAD 0x19950829
33/** Magic number for RTHEAPSIMPLEINTERNAL::u32Magic. (Kyoichi Katayama) */
34#define RTHEAPSIMPLE_MAGIC 0x19590105
35/** The magic value for RTLDRMODINTERNAL::u32Magic. (Alan Moore) */
36#define RTLDRMOD_MAGIC 0x19531118
37/** Magic number for heap blocks. (Edgar Allan Poe) */
38#define RTMEMHDR_MAGIC 0x18090119
39/** RTR0MEMOBJ::u32Magic. (Masakazu Katsura) */
40#define RTR0MEMOBJ_MAGIC 0x19611210
41/** Magic for the event semaphore structure. (Neil Gaiman) */
42#define RTSEMEVENT_MAGIC 0x19601110
43/** Magic for the multiple release event semaphore structure. (Isaac Asimov) */
44#define RTSEMEVENTMULTI_MAGIC 0x19200102
45/** Magic value for RTSEMFASTMUTEXINTERNAL::u32Magic. (John Ronald Reuel Tolkien) */
46#define RTSEMFASTMUTEX_MAGIC 0x18920102
47/** Dead magic value for RTSEMFASTMUTEXINTERNAL::u32Magic. */
48#define RTSEMFASTMUTEX_MAGIC_DEAD 0x19730902
49/** Magic for the mutex semaphore structure. (Douglas Adams) */
50#define RTSEMMUTEX_MAGIC 0x19520311
51/** Dead magic for the mutex semaphore structure. */
52#define RTSEMMUTEX_MAGIC_DEAD 0x20010511
53/** RTSEMRWINTERNAL::u32Magic value. (Kosuke Fujishima) */
54#define RTSEMRW_MAGIC 0x19640707
55/** Magic value for RTSPINLOCKINTERNAL::u32Magic. (Terry Pratchett) */
56#define RTSPINLOCK_MAGIC 0x19480428
57/** The value of RTSTREAM::u32Magic for a valid stream. */
58#define RTSTREAM_MAGIC 0xe44e44ee
59/** RTTHREADINT::u32Magic value. (Gilbert Keith Chesterton) */
60#define RTTHREADINT_MAGIC 0x18740529
61/** RTTHREADINT::u32Magic value for a dead thread. */
62#define RTTHREADINT_MAGIC_DEAD 0x19360614
63/** Magic number for timer handles. (Jared Mason Diamond) */
64#define RTTIMER_MAGIC 0x19370910
65
66/** @} */
67
68#endif
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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