]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kern/simple_lock.h
xnu-4903.221.2.tar.gz
[apple/xnu.git] / osfmk / kern / simple_lock.h
index 8ef311a88731d955abb19258ddcad0e6812b410a..b66313f7fb56c6bc82ac4048922fe35bc1b161d5 100644 (file)
@@ -84,9 +84,15 @@ extern void                  hw_lock_init(
 extern void                    hw_lock_lock(
                                        hw_lock_t);
 
+extern void                    hw_lock_lock_nopreempt(
+                                       hw_lock_t);
+
 extern void                    hw_lock_unlock(
                                        hw_lock_t);
 
+extern void                    hw_lock_unlock_nopreempt(
+                                       hw_lock_t);
+
 extern unsigned int            hw_lock_to(
                                        hw_lock_t,
                                        uint64_t);
@@ -94,6 +100,9 @@ extern unsigned int          hw_lock_to(
 extern unsigned int            hw_lock_try(
                                        hw_lock_t);
 
+extern unsigned int            hw_lock_try_nopreempt(
+                                       hw_lock_t);
+
 extern unsigned int            hw_lock_held(
                                        hw_lock_t);