summaryrefslogtreecommitdiffstats
path: root/src/include/util
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2010-06-09 14:12:01 -0500
committerPatrick Williams <iawillia@us.ibm.com>2010-06-09 14:12:01 -0500
commite7a6ae9cc5b84abe63c7439005656ecc4beda8c1 (patch)
treee50ad79598edeccd4b2e513f146896d2d60f0c82 /src/include/util
parentcbbd9e5b225e743ee3b4688ac6a3b69a9876926a (diff)
downloadtalos-hostboot-e7a6ae9cc5b84abe63c7439005656ecc4beda8c1.tar.gz
talos-hostboot-e7a6ae9cc5b84abe63c7439005656ecc4beda8c1.zip
Kernel spinlock support.
Diffstat (limited to 'src/include/util')
-rw-r--r--src/include/util/locked/lock.H20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/include/util/locked/lock.H b/src/include/util/locked/lock.H
new file mode 100644
index 000000000..b5237276e
--- /dev/null
+++ b/src/include/util/locked/lock.H
@@ -0,0 +1,20 @@
+#ifndef __UTIL_LOCKED_LOCK_H
+#define __UTIL_LOCKED_LOCK_H
+
+namespace Util
+{
+ namespace Locked
+ {
+ class Lock
+ {
+ public:
+ Lock() {};
+ virtual ~Lock() {};
+
+ virtual void lock() = 0;
+ virtual void unlock() = 0;
+ };
+ };
+};
+
+#endif
OpenPOWER on IntegriCloud