#ifndef _DOLCESDK_PSP2_KERNEL_SYSMEM_MEMBLOCK_H_ #define _DOLCESDK_PSP2_KERNEL_SYSMEM_MEMBLOCK_H_ #include_next /** @name sceKernelAllocMemBlockで指定可能なメモリタイプ */ /*@{*/ /** * memory block type for read execute cache allocated on LPDDR2 */ #define SCE_KERNEL_MEMBLOCK_TYPE_USER_RX 0x0c20d050U /*@}*/ SCE_CDECL_BEGIN #if !defined(_LANGUAGE_ASSEMBLY) typedef struct SceKernelAllocMemBlockOptInternal { SceSize size; SceUInt32 attr; SceSize alignment; SceUID uidBaseBlock; const char *strBaseBlockName; SceUInt32 flags; //! Unknown flags 0x10 or 0x30 for ::sceKernelOpenMemBlock SceUInt32 reserved[10]; } SceKernelAllocMemBlockOptInternal; /*----- memory access permission -----*/ /** * executable memory */ #define SCE_KERNEL_MEMORY_ACCESS_X 0x01U #endif /* !defined(_LANGUAGE_ASSEMBLY) */ SCE_CDECL_END #endif /* _DOLCESDK_PSP2_KERNEL_SYSMEM_MEMBLOCK_H_ */