Фрагмент системной страницы, характеризующий сведения о callout-ах ядра
#include <sys/syspage.h>struct callout_entry {void (*reboot)( struct syspage_entry *,int );int (*power)( struct syspage_entry *,unsigned,uint64_t * );void (*timer_load)( struct syspage_entry *,struct qtime_entry * );int (*timer_reload)( struct syspage_entry *,struct qtime_entry * );unsigned (*timer_value)( struct syspage_entry *,struct qtime_entry * );struct debug_callout debug[2];void (*debug_watchdog)( struct syspage_entry *,debug_watchdog_cmd );void (*powerdown)( struct syspage_entry * );uint32_t spare[2];};
Структура содержит информацию системной страницы, характеризующую сведения о callout-ах ядра и включает следующие поля:
ЗОСРВ «Нейтрино»
Руководство по разработке модуля startup
Предыдущий раздел: Описание API системной библиотеки