diff options
author | hpa <hpa> | 2003-11-22 05:45:21 +0000 |
---|---|---|
committer | hpa <hpa> | 2003-11-22 05:45:21 +0000 |
commit | 0a87ce1c8221d32083715d13d53368c1b41f320e (patch) | |
tree | c09cc1247714ae87c3ab7e4c9ea18a05d8f45093 | |
parent | 251787388152416b24b349240d544b5658b49636 (diff) | |
download | syslinux-0a87ce1c8221d32083715d13d53368c1b41f320e.tar.gz |
Fix invalid double-use of the edx register in parse_dhcp_optionssyslinux-2.07-pre10
-rw-r--r-- | pxelinux.asm | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/pxelinux.asm b/pxelinux.asm index 802118b4..fdc57809 100644 --- a/pxelinux.asm +++ b/pxelinux.asm @@ -2149,15 +2149,15 @@ parse_some_dhcp_options: cmp dl,1 ; SUBNET MASK option jne .not_subnet - mov edx,[si] - mov [Netmask],edx + mov ebx,[si] + mov [Netmask],ebx jmp .opt_done .not_subnet: cmp dl,3 ; ROUTER option jne .not_router - mov edx,[si] - mov [Gateway],edx + mov ebx,[si] + mov [Gateway],ebx jmp .opt_done .not_router: @@ -2173,8 +2173,8 @@ parse_some_dhcp_options: cmp dl,52 ; OPTION OVERLOAD option jne .not_overload - mov dl,[si] - mov [OverLoad],dl + mov bl,[si] + mov [OverLoad],bl jmp .opt_done .not_overload: @@ -2214,11 +2214,11 @@ parse_some_dhcp_options: jne .not_pl_timeout cmp al,4 jne .opt_done - mov edx,[si] - xchg dl,dh ; Convert to host byte order - rol edx,16 - xchg dl,dh - mov [RebootTime],edx + mov ebx,[si] + xchg bl,bh ; Convert to host byte order + rol ebx,16 + xchg bl,bh + mov [RebootTime],ebx or byte [DHCPMagic], byte 8 ; Got RebootTime ; jmp short .opt_done .not_pl_timeout: |