Skip to content

Commit c224875

Browse files
more build fixes
1 parent 2a4209f commit c224875

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

boot/freeldr/freeldr/arch/uefi/uefihw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ UefiHwDetect(
383383
/* Create the 'System' key */
384384
#if defined(_M_IX86) || defined(_M_AMD64)
385385
/* Create the 'System' key */
386-
FldrCreateSystemKey(&SystemKey, FALSE, "AT/AT COMPATIBLE");
386+
FldrCreateSystemKey(&SystemKey, "AT/AT COMPATIBLE");
387387
#elif defined(_M_IA64)
388388
FldrCreateSystemKey(&SystemKey, "Intel Itanium processor family");
389389
#elif defined(_M_ARM) || defined(_M_ARM64)

boot/freeldr/freeldr/bootmgr.c

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,13 @@ OSLoadingMethods[] =
6060

6161
#ifndef UEFIBOOT
6262
#ifndef SARCH_APPLETV
63-
{"Drive" , EditCustomBootDisk , LoadAndBootDevice},
64-
{"Partition" , EditCustomBootPartition , LoadAndBootDevice},
65-
{"BootSector" , EditCustomBootSectorFile, LoadAndBootDevice},
63+
{"BootSector" , EditCustomBootSector, LoadAndBootSector},
6664
{"Linux" , EditCustomBootLinux, LoadAndBootLinux },
67-
#endif /* SARCH_APPLETV */
68-
#endif /* UEFIBOOT */
65+
#endif /* ! SARCH_APPLETV */
66+
#endif /* ! UEFIBOOT */
67+
68+
#endif /* _M_IX86 || _M_AMD64 */
6969

70-
#endif
7170
#ifdef _M_IX86
7271
{"WindowsNT40" , EditCustomBootNTOS, LoadAndBootWindows},
7372
#endif

0 commit comments

Comments
 (0)