mirror of
https://github.com/izzy2lost/ppsspp.git
synced 2026-03-10 12:43:04 -07:00
Load kernel modules into kernel memory.
This way they don't eat up user memory space.
This commit is contained in:
@@ -20,6 +20,18 @@
|
||||
#include <string>
|
||||
#include "Core/HLE/sceKernel.h"
|
||||
|
||||
struct PspModuleInfo {
|
||||
u16_le moduleAttrs; //0x0000 User Mode, 0x1000 Kernel Mode
|
||||
u16_le moduleVersion;
|
||||
// 28 bytes of module name, packed with 0's.
|
||||
char name[28];
|
||||
u32_le gp; // ptr to MIPS GOT data (global offset table)
|
||||
u32_le libent; // ptr to .lib.ent section
|
||||
u32_le libentend; // ptr to end of .lib.ent section
|
||||
u32_le libstub; // ptr to .lib.stub section
|
||||
u32_le libstubend; // ptr to end of .lib.stub section
|
||||
};
|
||||
|
||||
class PointerWrap;
|
||||
|
||||
KernelObject *__KernelModuleObject();
|
||||
|
||||
Reference in New Issue
Block a user