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:
parent
5c3281f91b
commit
4ba8420ca5
@ -251,9 +251,11 @@ _start:
|
|||||||
// load data
|
// load data
|
||||||
movl $load_addr, %edi
|
movl $load_addr, %edi
|
||||||
read_loop:
|
read_loop:
|
||||||
|
pushl %edi
|
||||||
movw $PXENV_TFTP_READ, %bx
|
movw $PXENV_TFTP_READ, %bx
|
||||||
movw $s_PXENV_TFTP_READ, %di
|
movw $s_PXENV_TFTP_READ, %di
|
||||||
lcall * pxenv_api
|
lcall * pxenv_api
|
||||||
|
popl %edi
|
||||||
test %ax, %ax
|
test %ax, %ax
|
||||||
jnz err_load
|
jnz err_load
|
||||||
movw s_PXENV_TFTP_READ_Status, %ax
|
movw s_PXENV_TFTP_READ_Status, %ax
|
||||||
|
Loading…
Reference in New Issue
Block a user