diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-02-16 21:11:36 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-02-16 21:11:36 -0800 |
commit | d7cb344206117dd22afbde6df56e8b81d47718ae (patch) | |
tree | 5fb56c6476e0d8342fe4de5b412272ceee9a7a7a | |
parent | f4cbcf6081b27dd2fff04c68717cd5ac7a214df7 (diff) | |
download | syslinux-elf-d7cb344206117dd22afbde6df56e8b81d47718ae.tar.gz syslinux-elf-d7cb344206117dd22afbde6df56e8b81d47718ae.tar.xz syslinux-elf-d7cb344206117dd22afbde6df56e8b81d47718ae.zip |
pxelinux: compactify the getting cached packets message
Slightly compactify the getting cached packets messages, by putting
them all on one line.
-rw-r--r-- | core/pxelinux.asm | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/core/pxelinux.asm b/core/pxelinux.asm index e23c3dd9..57de536f 100644 --- a/core/pxelinux.asm +++ b/core/pxelinux.asm @@ -534,6 +534,9 @@ have_entrypoint: ; packet (query info 1). ; query_bootp_1: + mov si,get_packet_msg + call writestr_early + mov dl,1 call pxe_get_cached_info call parse_dhcp @@ -583,9 +586,11 @@ query_bootp_2: ; Now, get the boot file and other info. This lives in the CACHED_REPLY ; packet (query info 3). ; +query_bootp_3: mov dl,3 call pxe_get_cached_info call parse_dhcp ; Parse DHCP packet + call crlf ; ; Generate the bootif string, and the hardware-based config string. @@ -2278,11 +2283,10 @@ xchexbytes: ; pxe_get_cached_info: pushad - mov si,get_packet_msg - call writestr_early + mov al,' ' + call writechr mov al,dl call writehex2 - call crlf mov di,pxe_bootp_query_pkt push di xor ax,ax @@ -2315,7 +2319,7 @@ pxe_get_cached_info: jmp kaboom section .data -get_packet_msg db 'Getting cached packet ', 0 +get_packet_msg db 'Getting cached packet', 0 section .text ; |