PSP VSH Mode?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Dariusc123456
Posts: 388
Joined: Tue Aug 12, 2008 12:46 am

PSP VSH Mode?

Post by Dariusc123456 »

Hey,
I have a question about the vsh mode - 0x0800 thats use for the psp to access VSH mode. What functions are then allow when you are in VSH mode? I know what User and Kernel Function are, but vsh?

I have never use 0x800, and I ask because I took a look at 3.40 OE source code and found that in there.
PSHN - Playstation Hacking Network
PSX/PS1 - HACK - Game Shark
PS2 - HACK - Swap
PSP - HACK - Pandora
PS3 - ?
m0skit0
Posts: 191
Joined: Tue Jun 02, 2009 8:58 pm

Post by m0skit0 »

VSH mode corresponds to supervisor mode in MIPS modes. It's a mode between user and kernel. More access than user, less access than kernel :)
The Incredible Bill Gates wrote:The obvious mathematical breakthrough would be development of an easy way to factor large prime numbers.
Dariusc123456
Posts: 388
Joined: Tue Aug 12, 2008 12:46 am

Post by Dariusc123456 »

So VSH mode is just a mid-mode to access user (more) and kernel (less)?
PSHN - Playstation Hacking Network
PSX/PS1 - HACK - Game Shark
PS2 - HACK - Swap
PSP - HACK - Pandora
PS3 - ?
ne0h
Posts: 386
Joined: Thu Feb 21, 2008 2:15 am

Post by ne0h »

m0skit0 wrote:VSH mode corresponds to supervisor mode in MIPS modes. It's a mode between user and kernel. More access than user, less access than kernel :)
Just read?
coolkehon
Posts: 355
Joined: Mon Oct 20, 2008 5:44 am

Post by coolkehon »

so what exactly can this do extra besides user and how do i get my app to start in this
m0skit0
Posts: 191
Joined: Tue Jun 02, 2009 8:58 pm

Post by m0skit0 »

As far as MIPS concerns, supervisor mode has access to 0xc0000000 to 0xdfffffff besides access to user mode memory (below 0x80000000). But how this translates to the actual PSP architecture, I don't know...
The Incredible Bill Gates wrote:The obvious mathematical breakthrough would be development of an easy way to factor large prime numbers.
Dariusc123456
Posts: 388
Joined: Tue Aug 12, 2008 12:46 am

Post by Dariusc123456 »

I wonder if there's an extra memory that has a higher user and kernel. I am not talking about service mode (if there is one), but there's has to be something Sony use to access the extra memory that we cant get into. If we can access this memory, maybe we can dump the pre-IPL without service mode.
PSHN - Playstation Hacking Network
PSX/PS1 - HACK - Game Shark
PS2 - HACK - Swap
PSP - HACK - Pandora
PS3 - ?
User avatar
Torch
Posts: 825
Joined: Wed May 28, 2008 2:50 am

Post by Torch »

Some of the firmware functions have different privileges in VSH mode. In some cases even more than kernel mode. E.g. You can directly reassign flash0: for write access in VSH mode using the usual sce* functions, but you cannot do this even in kernel mode without some extra work like manually setting user level etc.
Post Reply