summaryrefslogtreecommitdiffstats
path: root/qemu/roms/ipxe/src/include/ipxe/pending.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/roms/ipxe/src/include/ipxe/pending.h')
-rw-r--r--qemu/roms/ipxe/src/include/ipxe/pending.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/qemu/roms/ipxe/src/include/ipxe/pending.h b/qemu/roms/ipxe/src/include/ipxe/pending.h
deleted file mode 100644
index be6ed05a1..000000000
--- a/qemu/roms/ipxe/src/include/ipxe/pending.h
+++ /dev/null
@@ -1,42 +0,0 @@
-#ifndef _IPXE_PENDING_H
-#define _IPXE_PENDING_H
-
-/** @file
- *
- * Pending operations
- *
- */
-
-FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
-
-/** A pending operation */
-struct pending_operation {
- /** Pending count */
- unsigned int count;
-};
-
-/**
- * Check if an operation is pending
- *
- * @v pending Pending operation
- * @ret is_pending Operation is pending
- */
-static inline int is_pending ( struct pending_operation *pending ) {
- return ( pending->count != 0 );
-}
-
-extern int pending_total;
-
-/**
- * Check if any operations are pending
- *
- * @ret have_pending Some operations are pending
- */
-static inline int have_pending ( void ) {
- return ( pending_total != 0 );
-}
-
-extern void pending_get ( struct pending_operation *pending );
-extern void pending_put ( struct pending_operation *pending );
-
-#endif /* _IPXE_PENDING_H */