save and restore destination address

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19031 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Marcus Overhagen 2006-10-08 19:10:53 +00:00
parent 5c3281f91b
commit 4ba8420ca5

View File

@ -251,9 +251,11 @@ _start:
// load data
movl $load_addr, %edi
read_loop:
pushl %edi
movw $PXENV_TFTP_READ, %bx
movw $s_PXENV_TFTP_READ, %di
lcall * pxenv_api
popl %edi
test %ax, %ax
jnz err_load
movw s_PXENV_TFTP_READ_Status, %ax