|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
The one bounded working set every application mode shares. More...
#include <mdl_app.h>
Data Fields | |
| mdl_session_t | session |
| Network policy session. | |
| mdl_export_workspace_t | export_ws |
| Bounded exporter arena view. | |
| mdl_storage_t | storage |
| Injected filesystem facade. | |
| ra8_io_stream_t * | output |
| Borrowed command output sink. | |
| ra8_io_stream_t * | diagnostic |
| Borrowed diagnostic sink. | |
| ra8_err_t | io_error |
| First presenter sink failure. | |
| char | page [k_page_buf_bytes] |
| Whole-page HTML buffer. | |
| mdl_url_list_t | chapters |
| Prepared chapter URLs. | |
| mdl_url_list_t | images |
| Prepared page image URLs. | |
| mdl_state_t | state |
| Persistent tracked state. | |
| mdl_cache_index_t | cache_index |
| One loaded per-host index. | |
| mdl_library_workspace_t | library_workspace |
| Bounded tree-removal stack. | |
| union { | |
| max_align_t align | |
| Force backend alignment. More... | |
| uint8_t bytes [k_mdl_storage_io_bytes] | |
| Second directory cursor. More... | |
| } | admin_directory_workspace |
| Nested verification cursor. | |
| mdl_series_metadata_t | series_metadata |
| Current scraped metadata. | |
The one bounded working set every application mode shares.
Caller-owned so the form – not the downloader – decides where the multi-megabyte page buffer and the state, cache and library workspaces live. Bind it once with mdl_app_bind before any mode runs; the modes reach it through one module-private accessor and never through a link-time global of their own.
| union { ... } mdl_app_context_t::admin_directory_workspace |
Nested verification cursor.
| max_align_t mdl_app_context_t::align |
| uint8_t mdl_app_context_t::bytes[k_mdl_storage_io_bytes] |
| mdl_cache_index_t mdl_app_context_t::cache_index |
One loaded per-host index.
Definition at line 173 of file mdl_app.h.
Referenced by internal_run_series_network().
| mdl_url_list_t mdl_app_context_t::chapters |
Prepared chapter URLs.
Definition at line 170 of file mdl_app.h.
Referenced by internal_select_run_window(), and internal_select_window().
| ra8_io_stream_t* mdl_app_context_t::diagnostic |
Borrowed diagnostic sink.
Definition at line 167 of file mdl_app.h.
Referenced by internal_direct_pack_failure(), internal_make_ctx(), internal_prepare_diag3(), internal_run_series_network(), mdl_app_run_discover(), and priv_mdl_app_report_cache().
| mdl_export_workspace_t mdl_app_context_t::export_ws |
| mdl_url_list_t mdl_app_context_t::images |
Prepared page image URLs.
Definition at line 171 of file mdl_app.h.
Referenced by internal_download_page_images(), and internal_make_ctx().
| ra8_err_t mdl_app_context_t::io_error |
First presenter sink failure.
Definition at line 168 of file mdl_app.h.
Referenced by internal_admin_latch(), internal_direct_latch(), and mdl_app_run_discover().
| mdl_library_workspace_t mdl_app_context_t::library_workspace |
Bounded tree-removal stack.
Definition at line 174 of file mdl_app.h.
Referenced by internal_library_report().
| ra8_io_stream_t* mdl_app_context_t::output |
Borrowed command output sink.
Definition at line 166 of file mdl_app.h.
Referenced by internal_make_ctx(), internal_report_stats(), internal_verify_artifact_entry(), mdl_app_run_discover(), mdl_app_run_init_site(), and mdl_app_run_verify().
| char mdl_app_context_t::page[k_page_buf_bytes] |
Whole-page HTML buffer.
Definition at line 169 of file mdl_app.h.
Referenced by internal_make_ctx(), and mdl_app_run_discover().
| mdl_series_metadata_t mdl_app_context_t::series_metadata |
Current scraped metadata.
Definition at line 179 of file mdl_app.h.
Referenced by internal_extract_optional_metadata(), internal_extract_series_metadata(), internal_reconcile_series_state(), and internal_snapshot_prior_metadata().
| mdl_session_t mdl_app_context_t::session |
Network policy session.
Definition at line 163 of file mdl_app.h.
Referenced by internal_download_page_image(), internal_extract_page_images(), internal_fetch_artifact(), internal_make_ctx(), mdl_app_run_discover(), and priv_mdl_app_prepare_chapters().
| mdl_state_t mdl_app_context_t::state |
Persistent tracked state.
Definition at line 172 of file mdl_app.h.
Referenced by internal_build_export_metadata(), internal_cover_cached(), internal_cover_current(), internal_cover_finish(), internal_cover_stream(), internal_make_ctx(), internal_reconcile_series_state(), internal_snapshot_prior_metadata(), and internal_verify_series_dir().
| mdl_storage_t mdl_app_context_t::storage |
Injected filesystem facade.
Definition at line 165 of file mdl_app.h.
Referenced by internal_fetch_artifact(), internal_make_ctx(), internal_run_series_network(), and priv_mdl_app_prepare_series_dir().