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 

iop tlb question

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



Joined: 09 Dec 2008
Posts: 5

PostPosted: Wed Dec 17, 2008 2:37 pm    Post subject: iop tlb question Reply with quote

In a couple of places, I've read that the iop doesn't have a mmu/tlb, and that the virtual address space is fixed to be the entire physical address space. It isn't possible to remap stuff as you normally would with a mmu.

However, some docs about the ps1 cpu go into some detail about the tlb. In addition, I was looking at the bios for the ps2, and some of the code for the iop writes to entrylo/entryhi, and calls tlbwr, signs of it having a tlb.

So what gives? Is the tlb just stripped down/lacks most features, or is the tlb on the iop differant from the tlb on the r3000a in the playstation 1?
Back to top
View user's profile Send private message
Lukasz



Joined: 19 Jan 2004
Posts: 248
Location: Denmark

PostPosted: Wed Dec 17, 2008 5:08 pm    Post subject: Reply with quote

As far as I know, the IOP does not have a TLB in any form.

Maybe if you could specify what IOP code in the BIOS you have seen using TLB related operations, we could get to the bottom of this :-)
_________________
Lukasz.dk
Back to top
View user's profile Send private message Visit poster's website
tsomctl



Joined: 09 Dec 2008
Posts: 5

PostPosted: Thu Dec 18, 2008 9:51 am    Post subject: Reply with quote

Hm I made a mistake. It was just writing 0 to those registers, which I didn't notice until now. I'm assuming that the psx doc by Joshua Walker is wrong when it goes in depth on the tlb. However, I once saw something about some company that ported Linux to run on the psx. How did they do that if it doesn't have an operational tlb?
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Thu Dec 18, 2008 4:26 pm    Post subject: Reply with quote

It was probably uclinux, which is linux specifically designed to work on systems without an MMU.
Back to top
View user's profile Send private message AIM Address
jbit
Site Admin


Joined: 28 May 2005
Posts: 293
Location: København, Danmark

PostPosted: Thu Dec 18, 2008 7:12 pm    Post subject: Reply with quote

http://en.wikipedia.org/wiki/Runix
Quote:
PSXLinux (also known as Runix) is a Linux kernel and development kit for the PlayStation (MIPS-NOMMU). PSXLinux is based on the μClinux 2.4.x kernel (www.uClinux.org) and contains specific support for the Sony PlayStation.
Back to top
View user's profile Send private message Visit poster's website
tsomctl



Joined: 09 Dec 2008
Posts: 5

PostPosted: Fri Dec 19, 2008 7:49 am    Post subject: Reply with quote

Thanks. Runix looks interesting, I'll have to play around with it some day.
Back to top
View user's profile Send private message
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