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.
This commit is contained in:
Eric-Paul Ickhorn 2024-08-17 17:06:09 +02:00
parent 916d7bd030
commit f73227fe74
Signed by: epickh
GPG Key ID: 1358818BAA38B104
1 changed files with 3 additions and 2 deletions

View File

@ -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.