david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[tcpip] Fix building under Cygwin

Cygwin's assembler treats '/' as a comment character.

Reported-by: Steve Goodrich <steve.goodrich@se-eng.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Joshua Oreman 2012-07-23 23:07:52 +01:00 committed by Michael Brown
parent c70586f6e9
commit fb7c022c2c
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ uint16_t x86_tcpip_continue_chksum ( uint16_t partial,
"\nx86_tcpip_loop_end:\n\t"
"loop x86_tcpip_loop_start\n\t"
".equ x86_tcpip_loop_step_size, "
" ( ( x86_tcpip_loop_end - x86_tcpip_loop_start ) / 16 )\n\t"
" ( ( x86_tcpip_loop_end - x86_tcpip_loop_start ) >> 4 )\n\t"
/* Checksum remaining whole words */
"mov %13, %3\n\t"