summaryrefslogtreecommitdiff
path: root/include/iprt/handletable.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2014-03-26 19:21:20 +0000
committer <>2014-05-08 15:03:54 +0000
commitfb123f93f9f5ce42c8e5785d2f8e0edaf951740e (patch)
treec2103d76aec5f1f10892cd1d3a38e24f665ae5db /include/iprt/handletable.h
parent58ed4748338f9466599adfc8a9171280ed99e23f (diff)
downloadVirtualBox-master.tar.gz
Imported from /home/lorry/working-area/delta_VirtualBox/VirtualBox-4.3.10.tar.bz2.HEADVirtualBox-4.3.10master
Diffstat (limited to 'include/iprt/handletable.h')
-rw-r--r--include/iprt/handletable.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/include/iprt/handletable.h b/include/iprt/handletable.h
index 0ade7412..c26f7871 100644
--- a/include/iprt/handletable.h
+++ b/include/iprt/handletable.h
@@ -3,7 +3,7 @@
*/
/*
- * Copyright (C) 2008 Oracle Corporation
+ * Copyright (C) 2008-2013 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
@@ -89,12 +89,15 @@ typedef FNRTHANDLETABLEDELETE *PFNRTHANDLETABLEDELETE;
*
* Setting this means you will have to use the WithCtx functions to do the
* handle management. */
-#define RTHANDLETABLE_FLAGS_CONTEXT RT_BIT_32(0)
-/** Whether the handle table should take care of the serialization.
+#define RTHANDLETABLE_FLAGS_CONTEXT RT_BIT_32(0)
+/** Whether the handle table should take care of the serialization (IRQ unsafe).
* If not specified the caller will have to take care of that. */
-#define RTHANDLETABLE_FLAGS_LOCKED RT_BIT_32(1)
+#define RTHANDLETABLE_FLAGS_LOCKED RT_BIT_32(1)
+/** Like RTHANDLETABLE_FLAGS_LOCKED, except it's IRQ safe.
+ * A side-effect is that callbacks may be called with IRQs disabled. */
+#define RTHANDLETABLE_FLAGS_LOCKED_IRQ_SAFE RT_BIT_32(2)
/** The mask of valid flags. */
-#define RTHANDLETABLE_FLAGS_MASK UINT32_C(0x00000003)
+#define RTHANDLETABLE_FLAGS_MASK UINT32_C(0x00000007)
/** @} */