|
Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
|
Detailed information about the reboot location/cause RISCV platforms have 16 byte alignment requirements for arch_esf. More...
#include <reboot.h>
Data Fields | ||
| struct { | ||
| uint32_t info1 | ||
| Info 1. More... | ||
| uint32_t info2 | ||
| Info 2. More... | ||
| } | generic | |
| struct { | ||
| uint32_t program_counter | ||
| Program counter value at exception. More... | ||
| uint32_t link_register | ||
| Link register value at exception. More... | ||
| } | exception_basic | |
| struct arch_esf | exception_full | |
| struct { | ||
| uint32_t info1 | ||
| Watchdog info1 per infuse_watchdog_thread_state_lookup. More... | ||
| uint32_t info2 | ||
| Watchdog info2 per infuse_watchdog_thread_state_lookup. More... | ||
| } | watchdog | |
Detailed information about the reboot location/cause RISCV platforms have 16 byte alignment requirements for arch_esf.
Still use __packed so we can guarantee the compiler does not shift memory layout.
| struct { ... } infuse_reboot_info::exception_basic |
| struct arch_esf infuse_reboot_info::exception_full |
| struct { ... } infuse_reboot_info::generic |
| uint32_t infuse_reboot_info::info1 |
Info 1.
Watchdog info1 per infuse_watchdog_thread_state_lookup.
| uint32_t infuse_reboot_info::info2 |
Info 2.
Watchdog info2 per infuse_watchdog_thread_state_lookup.
| uint32_t infuse_reboot_info::link_register |
Link register value at exception.
| uint32_t infuse_reboot_info::program_counter |
Program counter value at exception.
| struct { ... } infuse_reboot_info::watchdog |