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 

Modules attributes

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



Joined: 24 Mar 2008
Posts: 140

PostPosted: Sun Nov 30, 2008 12:05 am    Post subject: Modules attributes Reply with quote

from pspmoduleinfo.h:

Code:

enum PspModuleInfoAttr
{
        PSP_MODULE_USER                 = 0,
        PSP_MODULE_NO_STOP              = 0x0001,
        PSP_MODULE_SINGLE_LOAD  = 0x0002,
        PSP_MODULE_SINGLE_START = 0x0004,
        PSP_MODULE_KERNEL               = 0x1000,
};


and those values can be ORed together.

But it is known there are other params:
-0x800 (0x0800) for vsh mode. Question: ...so is it possible to OR this with 0x1000 or 0x0000 ???. is this still ORable with 0x000*?

-by looking at modules in kd folder it's possible to see other attributes:
0x5000
0x3000
0x7000

what's the meaning of this?
Back to top
View user's profile Send private message
SilverSpring



Joined: 27 Feb 2007
Posts: 115

PostPosted: Sun Nov 30, 2008 5:20 am    Post subject: Reply with quote

http://forums.ps2dev.org/viewtopic.php?t=8917
_________________
PSP PRX LibDocs
Back to top
View user's profile Send private message Visit poster's website
phobox



Joined: 24 Mar 2008
Posts: 140

PostPosted: Sun Nov 30, 2008 11:00 pm    Post subject: Reply with quote

thanks, didn't find that.

so, is this correct?

0x0000 - PSP_MODULE_USER
0x1000 - PSP_MODULE_KERNEL
0x2000 - PSP_MODULE_USE_MEMLMD_LIB
0x4000 - PSP_MODULE_USE_SEMAPHORE_LIB

0x0200 - PSP_MODULE_POPS
0x0200 - PSP_MODULE_DEMO
0x0400 - PSP_MODULE_GAMESHARING
0x0800 - PSP_MODULE_VSH

0x0001 - PSP_MODULE_NO_STOP
0x0002 - PSP_MODULE_SINGLE_LOAD
0x0004 - PSP_MODULE_SINGLE_START

I tried to guess the names...

ps. where can i find info on memlmd and semaphore libs?
_________________
Ciao! from Italy
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 -> 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