From 9386536c64992413c58bfdf98a5215ec76771718 Mon Sep 17 00:00:00 2001 From: mintsuki Date: Sat, 13 Mar 2021 09:45:17 +0100 Subject: [PATCH] uefi: We don't do PXE --- stage23/fs/file.s2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stage23/fs/file.s2.c b/stage23/fs/file.s2.c index a369bf2d..aae2c727 100644 --- a/stage23/fs/file.s2.c +++ b/stage23/fs/file.s2.c @@ -26,6 +26,7 @@ bool fs_get_guid(struct guid *guid, struct volume *part) { int fopen(struct file_handle *ret, struct volume *part, const char *filename) { ret->is_memfile = false; +#if defined (bios) if (part->pxe) { struct tftp_file_handle *fd = ext_mem_alloc(sizeof(struct tftp_file_handle)); @@ -39,6 +40,7 @@ int fopen(struct file_handle *ret, struct volume *part, const char *filename) { return 0; } +#endif if (iso9660_check_signature(part)) { struct iso9660_file_handle *fd = ext_mem_alloc(sizeof(struct iso9660_file_handle));