Riferimento alla struttura boot_control_module

Riferimento alla struttura boot_control_module

#include < boot_control.h >

Campi dati

struct hw_module_t   comuni
 
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 *  riservato [31]
 

Descrizione dettagliata

Ogni modulo hardware deve avere una struttura di dati denominata HAL_MODULE_INFO_SYM e i campi di questa struttura di dati devono iniziare con hw_module_t followed by module specific information.

Definizione alla riga 50 del file boot_control.h .

Documentazione dei campi

struct hw_module_t common

Definizione alla riga 51 del file boot_control.h .

unsigned(* getCurrentSlot)(struct boot_control_module *module)

Definizione alla riga 76 del file boot_control.h .

unsigned(* getNumberSlots)(struct boot_control_module *module)

Definizione alla riga 64 del file boot_control.h .

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

Definizione alla riga 118 del file boot_control.h .

void(* init)(struct boot_control_module *module)

Definizione alla riga 57 del file boot_control.h .

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

Definizione alla riga 110 del file boot_control.h .

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

Definizione alla riga 126 del file boot_control.h .

int(* markBootSuccessful)(struct boot_control_module *module)

Definizione alla riga 84 del file boot_control.h .

void* reserved[31]

Definizione nella riga 128 del file boot_control.h .

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

Definizione alla riga 93 del file boot_control.h .

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

Definizione alla riga 101 del file boot_control.h .


La documentazione di questa struttura è stata generata dal seguente file: