Module bootloader_message_store

Module bootloader_message_store 

Source

Structs§

AndroidBootloaderMessageStore
Android passes bootloader messages across reboot via a special “misc” partition. Since Starnix acts as a de-facto bootloader for Android, we need to be able to read these bootloader messages, which is done through this interface.

Enums§

BootloaderMessage

Functions§

android_bootloader_message_store_init
If a remote block device named “misc” is created, keep track of it; this is used by Android to pass boot parameters to the bootloader. Since Starnix is acting as a de-facto bootloader for Android, we need to be able to peek into these messages. Note that this might never be initialized (if the “misc” device never gets registered).