uefi: We don't do PXE

This commit is contained in:
mintsuki 2021-03-13 09:45:17 +01:00
parent 7ee7e3425c
commit 9386536c64
1 changed files with 2 additions and 0 deletions

View File

@ -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));