Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

quiesce.h 557B

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