blob: b2eeaa96a9d93cda0432179027ba2ebee2df53e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/* flashimg/cpu_main/flash_static.h - Serve static files from flash over 9P
*
* Copyright (C) 2024-2025 Luke T. Shumaker <lukeshu@lukeshu.com>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
#ifndef _FLASHIMG_CPU_MAIN_FLASH_STATIC_H_
#define _FLASHIMG_CPU_MAIN_FLASH_STATIC_H_
#include <util9p/static.h>
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_ */
|