forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Bug in iop/tcpip/tcpips?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
tjd



Joined: 27 May 2004
Posts: 23
Location: Austin, TX

PostPosted: Mon Oct 04, 2004 7:09 am    Post subject: Bug in iop/tcpip/tcpips? Reply with quote

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
View user's profile Send private message Visit poster's website
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Mon Oct 04, 2004 10:01 am    Post subject: Reply with quote

Probably by using something other than sceSifGetOtherData. :)
Back to top
View user's profile Send private message Visit poster's website
tjd



Joined: 27 May 2004
Posts: 23
Location: Austin, TX

PostPosted: Mon Oct 04, 2004 10:09 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Tue Oct 05, 2004 1:51 am    Post subject: Reply with quote

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
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Tue Oct 05, 2004 2:53 am    Post subject: Reply with quote

Yeah, that's what I meant. Really!
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group