Data Fields
startup_fn Struct Reference

A startup/shutdown function. More...

#include <init.h>

Data Fields

const char * name
void(* startup )(void)
void(* shutdown )(int booting)

Detailed Description

A startup/shutdown function.

Startup and shutdown functions may be called multiple times, as part of the calls to startup() and shutdown().

Definition at line 41 of file init.h.

Field Documentation

◆ name

const char* startup_fn::name

Definition at line 42 of file init.h.

Referenced by shutdown(), and startup().

◆ startup

void( * startup_fn::startup) (void)

Definition at line 43 of file init.h.

Referenced by startup().

◆ shutdown

void( * startup_fn::shutdown) (int booting)

Definition at line 44 of file init.h.

Referenced by shutdown().

The documentation for this struct was generated from the following file: