diff options
author | Iru Cai <mytbk920423@gmail.com> | 2020-12-27 20:11:19 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2020-12-27 20:11:19 +0800 |
commit | c3908d1768aa138981c37e447bd5882270cc23ce (patch) | |
tree | 4ac117d434bfb96d04c26b21eee8600b7f385fde | |
parent | df682c033b361d5442ae8f47de3da35c931c5452 (diff) | |
download | broadwell-refcode-c3908d1768aa138981c37e447bd5882270cc23ce.tar.xz |
usb2_port_number -> pcie_root_port_number
-rw-r--r-- | broadwell_refcode_librem.asm | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/broadwell_refcode_librem.asm b/broadwell_refcode_librem.asm index c0044ac..0b77376 100644 --- a/broadwell_refcode_librem.asm +++ b/broadwell_refcode_librem.asm @@ -1604,7 +1604,7 @@ mov esi, 0x10100 xor ebx, ebx loc_00000f2b: -call usb2_port_number ; call 0x1c1bf +call pcie_root_port_number ; call 0x1c1bf cmp bl, al jae loc_00000fc0 ; jae 0xfc0 movzx eax, bl @@ -1807,7 +1807,7 @@ add esp, 0x10 jmp short loc_000010d6 ; jmp 0x10d6 loc_00001110: -call usb2_port_number ; call 0x1c1bf +call pcie_root_port_number ; call 0x1c1bf cmp bl, al jae short loc_0000113a ; jae 0x113a push eax @@ -21115,7 +21115,7 @@ mov byte [ebp - 0x3c], 0 mov byte [ebp - 0x29], 0 loc_0000d1d7: -call usb2_port_number ; call 0x1c1bf +call pcie_root_port_number ; call 0x1c1bf cmp byte [ebp - 0x29], al jae short loc_0000d25e ; jae 0xd25e movzx edx, byte [ebp - 0x29] @@ -23270,7 +23270,7 @@ lea edi, [esi + 0x1e] xor ebx, ebx loc_0000e74a: ; not directly referenced -call usb2_port_number ; call 0x1c1bf +call pcie_root_port_number ; call 0x1c1bf movzx eax, al cmp ebx, eax jae loc_0000eba0 ; jae 0xeba0 @@ -28113,7 +28113,7 @@ loc_000115fe: mov byte [ebp - 0x1c], 0 loc_00011602: -call usb2_port_number ; call 0x1c1bf +call pcie_root_port_number ; call 0x1c1bf cmp byte [ebp - 0x1c], al jae short loc_000115f0 ; jae 0x115f0 push eax @@ -28943,7 +28943,7 @@ movzx edi, byte [ebp - 0x20] mov dword [ebp - 0x28], eax loc_00011e9c: ; not directly referenced -call usb2_port_number ; call 0x1c1bf +call pcie_root_port_number ; call 0x1c1bf movzx eax, al cmp ebx, eax jae loc_00011fa1 ; jae 0x11fa1 @@ -29041,7 +29041,7 @@ and eax, 0xf mov dword [ebp - 0x1c], eax loc_00011fba: ; not directly referenced -call usb2_port_number ; call 0x1c1bf +call pcie_root_port_number ; call 0x1c1bf movzx eax, al cmp ebx, eax jae short loc_00012044 ; jae 0x12044 @@ -29131,7 +29131,7 @@ jne loc_0001219b ; jne 0x1219b movzx edi, byte [ebp - 0x20] loc_00012092: ; not directly referenced -call usb2_port_number ; call 0x1c1bf +call pcie_root_port_number ; call 0x1c1bf movzx eax, al cmp ebx, eax jae loc_0001219b ; jae 0x1219b @@ -29408,7 +29408,7 @@ movzx eax, byte [eax + 1] push eax call get_pci_dev_base ; call 0x16c9a mov ebx, eax -call usb2_port_number ; call 0x1c1bf +call pcie_root_port_number ; call 0x1c1bf add esp, 0xc push 5 push 0xf5 @@ -46862,7 +46862,7 @@ pop esi pop ebp ret -usb2_port_number: +pcie_root_port_number: push ebp mov ebp, esp sub esp, 8 @@ -47163,7 +47163,7 @@ movzx edi, byte [ebp + 0xc] lea esi, [eax + 0x404] loc_0001c3e3: ; not directly referenced -call usb2_port_number ; call 0x1c1bf +call pcie_root_port_number ; call 0x1c1bf cmp bl, al jae short loc_0001c40a ; jae 0x1c40a sub esp, 0xc @@ -49805,7 +49805,7 @@ mov byte [ebx + 0x1a8], 1 loc_0001e15a: mov dword [ebp - 0x28], ecx -call usb2_port_number ; call 0x1c1bf +call pcie_root_port_number ; call 0x1c1bf mov ecx, dword [ebp - 0x28] cmp cl, al jae short loc_0001e192 ; jae 0x1e192 @@ -49997,7 +49997,7 @@ mov byte [ebx + 0x256], 1 loc_0001e490: mov dword [ebp - 0x24], ecx -call usb2_port_number ; call 0x1c1bf +call pcie_root_port_number ; call 0x1c1bf mov ecx, dword [ebp - 0x24] cmp cl, al jae short loc_0001e4ad ; jae 0x1e4ad @@ -50013,7 +50013,7 @@ xor ecx, ecx loc_0001e4b6: mov dword [ebp - 0x24], ecx -call usb2_port_number ; call 0x1c1bf +call pcie_root_port_number ; call 0x1c1bf mov ecx, dword [ebp - 0x24] cmp cl, al jae short loc_0001e524 ; jae 0x1e524 |