1 #ifndef _IPXE_QUIESCE_H
2 #define _IPXE_QUIESCE_H
3 
4 /** @file
5  *
6  * Quiesce system
7  *
8  */
9 
10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11 
12 #include <ipxe/tables.h>
13 
14 /** A quiescer */
15 struct quiescer {
16 	/** Quiesce system */
17 	void ( * quiesce ) ( void );
18 	/** Unquiesce system */
19 	void ( * unquiesce ) ( void );
20 };
21 
22 /** Quiescer table */
23 #define QUIESCERS __table ( struct quiescer, "quiescers" )
24 
25 /** Declare a quiescer */
26 #define __quiescer __table_entry ( QUIESCERS, 01 )
27 
28 extern void quiesce ( void );
29 extern void unquiesce ( void );
30 
31 #endif /* _IPXE_QUIESCE_H */
32