From 813388b889a38d756ce2709148244ba7cb354003 Mon Sep 17 00:00:00 2001 From: Matt Fleming Date: Thu, 15 Nov 2012 12:00:30 +0000 Subject: firmware: Make disk->private an opaque type We've currently got both the BIOS and EFI versions of struct disk_private in core/include/disk.h, which isn't ideal because this file shouldn't need to know about the inner-workings of the firmware's private disk info. Move the implementation of 'struct disk_private' into more suitable locations and use a void * for the 'private' member of struct disk. This change allows us to once and for all delete the gnu-efi header files from core/include/core.h and the gnu-efi include paths from mk/lib.mk. Signed-off-by: Matt Fleming --- core/include/fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/include/fs.h') diff --git a/core/include/fs.h b/core/include/fs.h index c648d2ad..4d6c18be 100644 --- a/core/include/fs.h +++ b/core/include/fs.h @@ -186,7 +186,7 @@ static inline struct file *handle_to_file(uint16_t handle) extern char *PATH; /* fs.c */ -void fs_init(const struct fs_ops **ops, struct disk_private *priv); +void fs_init(const struct fs_ops **ops, void *priv); void pm_mangle_name(com32sys_t *); void pm_searchdir(com32sys_t *); void mangle_name(char *, const char *); -- cgit v1.2.1