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:
parent
916d7bd030
commit
f73227fe74
|
@ -53,7 +53,7 @@ acpi_enumerate_tables:
|
||||||
mov ebx, [esi + 8]
|
mov ebx, [esi + 8]
|
||||||
add ebx, eax
|
add ebx, eax
|
||||||
|
|
||||||
mov eax, [ebx]Z
|
mov eax, [ebx]
|
||||||
|
|
||||||
inc ecx
|
inc ecx
|
||||||
jmp .enumeration_loop
|
jmp .enumeration_loop
|
||||||
|
@ -97,7 +97,7 @@ acpi_search_rsdt:
|
||||||
pop ebp
|
pop ebp
|
||||||
|
|
||||||
cmp ax, 0
|
cmp ax, 0
|
||||||
jne .rsdp_found
|
jne .resolve_rsdp
|
||||||
|
|
||||||
add ecx, 16
|
add ecx, 16
|
||||||
cmp ecx, 0x100000
|
cmp ecx, 0x100000
|
||||||
|
@ -105,6 +105,7 @@ acpi_search_rsdt:
|
||||||
|
|
||||||
; If no "RSD PTR "-signature could be found
|
; If no "RSD PTR "-signature could be found
|
||||||
xor ecx, ecx
|
xor ecx, ecx
|
||||||
|
jmp .epilog
|
||||||
|
|
||||||
.resolve_rsdp:
|
.resolve_rsdp:
|
||||||
; The 4-byte RSDT-pointer is at byte-offset 4 into the RSDP strucfture.
|
; The 4-byte RSDT-pointer is at byte-offset 4 into the RSDP strucfture.
|
||||||
|
|
Loading…
Reference in New Issue