Skip to content

Commit c81f6a7

Browse files
fix(boot): boot args rev3 structure is iOS >=17, not >=18
1 parent a2f2f53 commit c81f6a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hw/arm/apple-silicon/boot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ void apple_boot_setup_bootargs(uint32_t build_version, AddressSpace *as,
915915
vaddr dtb_size, AppleVideoArgs *video_args,
916916
const char *cmdline, hwaddr mem_size_actual)
917917
{
918-
if (BUILD_VERSION_MAJOR(build_version) >= 18) {
918+
if (BUILD_VERSION_MAJOR(build_version) >= 17) {
919919
apple_boot_setup_bootargs_rev3(as, addr, virt_base, phys_base, mem_size,
920920
kernel_top, dtb_va, dtb_size, video_args,
921921
cmdline, mem_size_actual);

0 commit comments

Comments
 (0)