mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 00:20:34 +00:00
[BOOTSECT][FREELDR] Fix wrong comment of conditional jump on ext.S
and extldr.S
(#7798)
This commit is contained in:
parent
2e47094764
commit
19c1f5661f
2 changed files with 2 additions and 2 deletions
|
@ -608,7 +608,7 @@ SearchFile:
|
|||
mov di, offset ExtLdrFileName // Load target filename address
|
||||
mov cx, offset ExtLdrFileNameEnd - ExtLdrFileName // Length of filename to compare
|
||||
cmp byte ptr ds:[si + EXT_DIRECTORY_ENTRY_NAME_LENGTH_OFFSET], cl // Compare if both names have the same length
|
||||
jnz .Skip // Skip this entry if yes
|
||||
jnz .Skip // Skip this entry if not
|
||||
add si, EXT_DIRECTORY_ENTRY_NAME_OFFSET // Move to filename in entry
|
||||
repe cmpsb // Compare filenames
|
||||
pop si // Restore SI
|
||||
|
|
|
@ -54,7 +54,7 @@ ExtLdrEntryPoint:
|
|||
mov di, offset FreeLdrFileName // Load target filename address
|
||||
mov cx, offset FreeLdrFileNameEnd - FreeLdrFileName // Length of filename to compare
|
||||
cmp byte ptr ds:[si + EXT_DIRECTORY_ENTRY_NAME_LENGTH_OFFSET], cl // Compare if both names have the same length
|
||||
jnz .FSkip2 // Skip this entry if yes
|
||||
jnz .FSkip2 // Skip this entry if not
|
||||
add si, EXT_DIRECTORY_ENTRY_NAME_OFFSET // Move to filename in entry
|
||||
repe cmpsb // Compare filenames
|
||||
pop si // Restore SI
|
||||
|
|
Loading…
Reference in a new issue