Index: /trunk/include/iprt/err.h
===================================================================
--- /trunk/include/iprt/err.h	(revision 10707)
+++ /trunk/include/iprt/err.h	(revision 10708)
@@ -930,4 +930,12 @@
 /** @} */
 
+/** @name RTCache status codes
+ * @{ */
+/** RTCache: cache is full. */
+#define VERR_CACHE_FULL                         (-850)
+/** RTCache: cache is empty. */
+#define VERR_CACHE_EMPTY                        (-851)
+/** @} */
+
 /* SED-END */
 
Index: /trunk/src/VBox/Runtime/Makefile.kmk
===================================================================
--- /trunk/src/VBox/Runtime/Makefile.kmk	(revision 10707)
+++ /trunk/src/VBox/Runtime/Makefile.kmk	(revision 10708)
@@ -182,4 +182,5 @@
 	common/log/logformat.cpp \
 	common/misc/assert.cpp \
+	common/misc/cache.cpp \
 	common/misc/cidr.cpp \
 	common/misc/getopt.cpp \
Index: /trunk/src/VBox/Runtime/include/internal/magics.h
===================================================================
--- /trunk/src/VBox/Runtime/include/internal/magics.h	(revision 10707)
+++ /trunk/src/VBox/Runtime/include/internal/magics.h	(revision 10708)
@@ -73,4 +73,6 @@
 /** Magic number for timer handles. (Jared Mason Diamond) */
 #define RTTIMER_MAGIC               0x19370910
+/** Magic number for cache object headers. (Joseph Weizenbaum) */
+#define RTOBJCACHE_MAGIC            0x19230108
 
 /** @} */
