/* flashimg/cpu_main/flash_static.h - Serve static files from flash over 9P * * Copyright (C) 2024-2025 Luke T. Shumaker * SPDX-License-Identifier: AGPL-3.0-or-later */ #ifndef _FLASHIMG_CPU_MAIN_FLASH_STATIC_H_ #define _FLASHIMG_CPU_MAIN_FLASH_STATIC_H_ #include struct flash_static_file { struct _util9p_static_common c; struct flashio *io; char *data_start; /* must not be NULL */ char *data_end; /* must not be NULL */ }; LO_IMPLEMENTATION_H(lib9p_srv_file, struct flash_static_file, flash_static_file); #endif /* _FLASHIMG_CPU_MAIN_FLASH_STATIC_H_ */