|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Row-wise view of the vtable, for the completeness scan. More...
Data Fields | |
| hosted_osi_funcs_t | table |
| The table as the vendored core sees it. | |
| void(*[sizeof(hosted_osi_funcs_t)/sizeof(void(*)(void))]) | rows (void) |
| The same bytes as a flat array of rows. | |
Row-wise view of the vtable, for the completeness scan.
Reading a structure of function pointers through an array of function pointers is only defined through a union, so the scan uses one. The accompanying static assertion is what makes the view safe: it fails the build if the vendored table ever gains a member that is not a function pointer, rather than letting the scan silently misread it.
Definition at line 452 of file ra8_esp_hosted_osi.c.
| void(*[sizeof(hosted_osi_funcs_t)/sizeof(void(*)(void))]) ra8_esp_hosted_osi_view::rows(void) |
The same bytes as a flat array of rows.
Definition at line 455 of file ra8_esp_hosted_osi.c.
Referenced by priv_ra8_esp_hosted_osi_is_complete().
| hosted_osi_funcs_t ra8_esp_hosted_osi_view::table |
The table as the vendored core sees it.
Definition at line 453 of file ra8_esp_hosted_osi.c.