iPXE
Data Structures | Macros | Functions
quiesce.h File Reference

Quiesce system. More...

#include <ipxe/tables.h>

Go to the source code of this file.

Data Structures

struct  quiescer
 A quiescer. More...
 

Macros

#define QUIESCERS   __table ( struct quiescer, "quiescers" )
 Quiescer table. More...
 
#define __quiescer   __table_entry ( QUIESCERS, 01 )
 Declare a quiescer. More...
 

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 
void quiesce (void)
 Quiesce system. More...
 
void unquiesce (void)
 Unquiesce system. More...
 

Detailed Description

Quiesce system.

Definition in file quiesce.h.

Macro Definition Documentation

◆ QUIESCERS

#define QUIESCERS   __table ( struct quiescer, "quiescers" )

Quiescer table.

Definition at line 23 of file quiesce.h.

◆ __quiescer

#define __quiescer   __table_entry ( QUIESCERS, 01 )

Declare a quiescer.

Definition at line 26 of file quiesce.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

◆ quiesce()

void quiesce ( void  )

Quiesce system.

Definition at line 36 of file quiesce.c.

36  {
37  struct quiescer *quiescer;
38 
39  /* Call all quiescers */
41  quiescer->quiesce();
42  }
43 }
A quiescer.
Definition: quiesce.h:15
void(* quiesce)(void)
Quiesce system.
Definition: quiesce.h:17
#define for_each_table_entry(pointer, table)
Iterate through all entries within a linker table.
Definition: tables.h:358
#define QUIESCERS
Quiescer table.
Definition: quiesce.h:23

References for_each_table_entry, quiescer::quiesce, and QUIESCERS.

Referenced by sandev_write().

◆ unquiesce()

void unquiesce ( void  )

Unquiesce system.

Definition at line 46 of file quiesce.c.

46  {
47  struct quiescer *quiescer;
48 
49  /* Call all quiescers */
52  }
53 }
A quiescer.
Definition: quiesce.h:15
void(* unquiesce)(void)
Unquiesce system.
Definition: quiesce.h:19
#define for_each_table_entry(pointer, table)
Iterate through all entries within a linker table.
Definition: tables.h:358
#define QUIESCERS
Quiescer table.
Definition: quiesce.h:23

References for_each_table_entry, QUIESCERS, and quiescer::unquiesce.

Referenced by sandev_command(), and sandev_reopen().