boot_control_module Yapı Referansı
  
   #include <
   
    boot_control.h
   
   >
  
 
    Veri Alanları | 
  |
| struct hw_module_t | yaygın | 
| 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] | 
Ayrıntılı Açıklama
Her donanım modülünde HAL_MODULE_INFO_SYM adlı bir veri yapısı olmalıdır ve bu veri yapısının alanları, hw_module_t ile başlamalı ve ardından modüle özgü bilgiler gelmelidir.
boot_control.h dosyasının 50. satırı
Alan Belgeleri
| struct hw_module_t common | 
Tanımı, boot_control.h dosyasının 51. satırı içindedir.
| unsigned(* getCurrentSlot)(struct boot_control_module *module) | 
boot_control.h dosyasının 76 satırı
| unsigned(* getNumberSlots)(struct boot_control_module *module) | 
Tanımı, boot_control.h dosyasının 64. satırı içindedir.
| const char*(* getSuffix)(struct boot_control_module *module, unsigned slot) | 
Tanımı, boot_control.h dosyasının 118 satırı
| void(* init)(struct boot_control_module *module) | 
boot_control.h dosyasının 57. satırı için tanımı
| int(* isSlotBootable)(struct boot_control_module *module, unsigned slot) | 
Tanımı, boot_control.h dosyasının 110 satırı
| int(* isSlotMarkedSuccessful)(struct boot_control_module *module, unsigned slot) | 
boot_control.h dosyasının 126. satırı için tanımı
| int(* markBootSuccessful)(struct boot_control_module *module) | 
boot_control.h dosyasının 84. satırı için tanımı
| void* reserved[31] | 
Tanımı, boot_control.h dosyasının 128 satırı
| int(* setActiveBootSlot)(struct boot_control_module *module, unsigned slot) | 
boot_control.h dosyasının 93. satırı için tanımı
| int(* setSlotAsUnbootable)(struct boot_control_module *module, unsigned slot) | 
Tanımı, boot_control.h dosyasının 101 . satırındadır.
Bu yapının dokümanları aşağıdaki dosyadan oluşturulmuştur:
- hardware/libhardware/include/hardware/ boot_control.h