Page 1 of 1
Bug in iop/tcpip/tcpips?
Posted: Mon Oct 04, 2004 7:09 am
by tjd
Folks;
I believe that the src/imports.lst file needs to move the import entry of I_sceSifGetOtherData from sifman to sifcmd (where it lives). I have no idea how send/recv from the EE to the IOP ever worked without this...
tjd
Posted: Mon Oct 04, 2004 10:01 am
by ooPo
Probably by using something other than sceSifGetOtherData. :)
Posted: Mon Oct 04, 2004 10:09 am
by tjd
perhaps, but the code in CVS says otherwise ;-) An excerp from ps2ips.c in send/sendto etc...
Code: Select all
ee_pos = pkt->ee_addr + pkt->malign;
sendlen = MIN(BUFF_SIZE, pkt->length);
r = SifRpcGetOtherData(&rdata, ee_pos, lwip_buffer + 16, sendlen - pkt->malign, 0);
The SifRPCGetOtherData is a #define to sceSifGetOtherData
Posted: Tue Oct 05, 2004 1:51 am
by mrbrown
ps2ip used ps2lib's IOP libraries before everything was moved over to ps2sdk. ps2lib didn't use imports.lst, instead it used a .s file with all library imports, which were correct for sceSifGetOtherData(). So it worked fine until it was moved to ps2sdk.
Posted: Tue Oct 05, 2004 2:53 am
by ooPo
Yeah, that's what I meant. Really!