Modules attributes

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

Moderators: cheriff, TyRaNiD

Post Reply
phobox
Posts: 127
Joined: Mon Mar 24, 2008 6:22 pm

Modules attributes

Post by phobox »

from pspmoduleinfo.h:

Code: Select all

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?
phobox
Posts: 127
Joined: Mon Mar 24, 2008 6:22 pm

Post by phobox »

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
Post Reply