| View previous topic :: View next topic |
| Author |
Message |
tjd
Joined: 27 May 2004 Posts: 23 Location: Austin, TX
|
Posted: Mon Oct 04, 2004 7:09 am Post subject: Bug in iop/tcpip/tcpips? |
|
|
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 |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Mon Oct 04, 2004 10:01 am Post subject: |
|
|
| Probably by using something other than sceSifGetOtherData. :) |
|
| Back to top |
|
 |
tjd
Joined: 27 May 2004 Posts: 23 Location: Austin, TX
|
Posted: Mon Oct 04, 2004 10:09 am Post subject: |
|
|
perhaps, but the code in CVS says otherwise ;-) An excerp from ps2ips.c in send/sendto etc...
| Code: |
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 |
|
| Back to top |
|
 |
mrbrown
Joined: 17 Jan 2004 Posts: 1536
|
Posted: Tue Oct 05, 2004 1:51 am Post subject: |
|
|
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. _________________ "He was warned..." |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Tue Oct 05, 2004 2:53 am Post subject: |
|
|
| Yeah, that's what I meant. Really! |
|
| Back to top |
|
 |
|