Informacje o strukturze boot_control_module

Informacje o strukturze boot_control_module

#include < boot_control.h >

Pola danych

struct hw_module_t   wspólne
 
void(*  init )(struct boot_control_module *module)
 
unsigned(*  getNumberSlots )(struct boot_control_module *module)
 
unsigned(*  getCurrentSlot )(struct boot_control_module *module)
 
int(*  markBootSuccessful )(struct boot_control_module *module)
 
int(*  setActiveBootSlot )(struct boot_control_module *module, unsigned slot)
 
int(*  setSlotAsUnbootable )(struct boot_control_module *module, unsigned slot)
 
int(*  isSlotBootable )(struct boot_control_module *module, unsigned slot)
 
const char *(*  getSuffix )(struct boot_control_module *module, unsigned slot)
 
int(*  isSlotMarkedSuccessful )(struct boot_control_module *module, unsigned slot)
 
void *  reserved [31]
 

Szczegółowy opis

Każdy moduł sprzętowy musi mieć strukturę danych o nazwie HAL_MODULE_INFO_SYM, a pola tej struktury danych muszą zaczynać się od hw_module_t po czym następuje informacja o danym module.

Definicja w wierszu 50 pliku boot_control.h .

Dokumentacja pola

struct hw_module_t common

Definicja w wierszu 51 pliku boot_control.h .

unsigned(* getCurrentSlot)(struct boot_control_module *module)

Definicja w wierszu 76 pliku boot_control.h .

unsigned(* getNumberSlots)(struct boot_control_module *module)

Definicja w wierszu 64 pliku boot_control.h .

const char*(* getSuffix)(struct boot_control_module *module, unsigned slot)

Definicja w wierszu 118 pliku boot_control.h .

void(* init)(struct boot_control_module *module)

Definicja w wierszu 57 pliku boot_control.h .

int(* isSlotBootable)(struct boot_control_module *module, unsigned slot)

Definicja w wierszu 110 pliku boot_control.h .

int(* isSlotMarkedSuccessful)(struct boot_control_module *module, unsigned slot)

Definicja w wierszu 126 pliku boot_control.h .

int(* markBootSuccessful)(struct boot_control_module *module)

Definicja w wierszu 84 pliku boot_control.h .

void* reserved[31]

Definicja w wierszu 128 pliku boot_control.h .

int(* setActiveBootSlot)(struct boot_control_module *module, unsigned slot)

Definicja w wierszu 93 pliku boot_control.h .

int(* setSlotAsUnbootable)(struct boot_control_module *module, unsigned slot)

Definicja w wierszu 101 pliku boot_control.h .


Dokumentacja tego typu danych została wygenerowana z tego pliku: