iPXE
quiesce.h
Go to the documentation of this file.
1#ifndef _IPXE_QUIESCE_H
2#define _IPXE_QUIESCE_H
3
4/** @file
5 *
6 * Quiesce system
7 *
8 */
9
10FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11FILE_SECBOOT ( PERMITTED );
12
13#include <ipxe/tables.h>
14
15/** A quiescer */
16struct quiescer {
17 /** Quiesce system */
18 void ( * quiesce ) ( void );
19 /** Unquiesce system */
20 void ( * unquiesce ) ( void );
21};
22
23/** Quiescer table */
24#define QUIESCERS __table ( struct quiescer, "quiescers" )
25
26/** Declare a quiescer */
27#define __quiescer __table_entry ( QUIESCERS, 01 )
28
29extern void quiesce ( void );
30extern void unquiesce ( void );
31
32#endif /* _IPXE_QUIESCE_H */
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:896
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
Definition compiler.h:926
void unquiesce(void)
Unquiesce system.
Definition quiesce.c:47
void quiesce(void)
Quiesce system.
Definition quiesce.c:37
A quiescer.
Definition quiesce.h:16
void(* unquiesce)(void)
Unquiesce system.
Definition quiesce.h:20
void(* quiesce)(void)
Quiesce system.
Definition quiesce.h:18
Linker tables.