summaryrefslogtreecommitdiffstats
path: root/arch/sandbox/mach-sandbox/include/mach/hostfile.h
blob: b461d5ebc35911593157e41033827904555f034e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef __ASM_ARCH_HOSTFILE_H
#define __ASM_ARCH_HOSTFILE_H

struct hf_info {
	int fd;
	unsigned long long base;
	unsigned long long size;
	const char *devname;
	const char *filename;
	unsigned int is_blockdev:1;
	unsigned int is_cdev:1;
	unsigned int is_readonly:1;
};

int barebox_register_filedev(struct hf_info *hf);

#endif /* __ASM_ARCH_HOSTFILE_H */