fix previous (forgot to load register)

This commit is contained in:
rgimad
2025-02-01 21:32:59 +03:00
parent bd4a478855
commit 42d9f82971

View File

@@ -105,6 +105,7 @@ proc main _efi_handle, _efi_table
test eax, eax test eax, eax
jnz $ ; loop if fail to init text jnz $ ; loop if fail to init text
mov rdx, [efi_table]
mov rcx, msg_firmware_vendor mov rcx, msg_firmware_vendor
call efi_puts call efi_puts
mov rcx, [rdx + EFI_SYSTEM_TABLE.FirmwareVendor] mov rcx, [rdx + EFI_SYSTEM_TABLE.FirmwareVendor]