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 

when kernel mode?

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



Joined: 29 Sep 2005
Posts: 339

PostPosted: Sat Apr 29, 2006 1:15 am    Post subject: when kernel mode? Reply with quote

I'd like to know under what conditions an app shall run in kernel mode. I know that it should when it uses the ME. What other conditions are there?
Back to top
View user's profile Send private message
dot_blank



Joined: 28 Sep 2005
Posts: 498
Location: Brasil

PostPosted: Sat Apr 29, 2006 1:40 am    Post subject: Reply with quote

when loading user made prxs
either if prxs are user module or kernel module
_________________
10011011 00101010 11010111 10001001 10111010
Back to top
View user's profile Send private message
groepaz



Joined: 01 Sep 2005
Posts: 305

PostPosted: Sat Apr 29, 2006 11:15 pm    Post subject: Reply with quote

kernel mode is generally needed to

- run code in the KU segments (PC=0x8........)
- access memory in the KU segments (first 8mb of ram)
- access i/o area (hardware registers)
- access hardware vectors (ram at bcf00000)

other restrictions, such as certain prx modules beeing only loaded in kernel mode, are handled by the kernel/OS so in theory they can be patched away (simelar to the no-device-check patch).
_________________
http://www.hitmen-console.org
http://hitmen.c02.at/files/yapspd/
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 -> PSP 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