From f73227fe748aba8f9ed602fd25522d248dc0e894 Mon Sep 17 00:00:00 2001 From: Eric-Paul Ickhorn Date: Sat, 17 Aug 2024 17:06:09 +0200 Subject: [PATCH] Fix two syntax errors in ACPI utilities The first one was a stray letter 'Z' somewhere in the source. The second one was an error due to some changes being half-done; an assembly label that did not yet exist was used. Those two errors are fixed now. --- i386/legacy-boot/src-asm/drivers/acpi/utility.asm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/i386/legacy-boot/src-asm/drivers/acpi/utility.asm b/i386/legacy-boot/src-asm/drivers/acpi/utility.asm index 425bd2f..089f9ec 100644 --- a/i386/legacy-boot/src-asm/drivers/acpi/utility.asm +++ b/i386/legacy-boot/src-asm/drivers/acpi/utility.asm @@ -53,7 +53,7 @@ acpi_enumerate_tables: mov ebx, [esi + 8] add ebx, eax - mov eax, [ebx]Z + mov eax, [ebx] inc ecx jmp .enumeration_loop @@ -97,7 +97,7 @@ acpi_search_rsdt: pop ebp cmp ax, 0 - jne .rsdp_found + jne .resolve_rsdp add ecx, 16 cmp ecx, 0x100000 @@ -105,6 +105,7 @@ acpi_search_rsdt: ; If no "RSD PTR "-signature could be found xor ecx, ecx + jmp .epilog .resolve_rsdp: ; The 4-byte RSDT-pointer is at byte-offset 4 into the RSDP strucfture.