devkit ram support

This commit is contained in:
Mateico
2026-05-08 15:26:27 +02:00
parent dcb60beef2
commit 7a58386b98
7 changed files with 80 additions and 20 deletions

View File

@@ -42,6 +42,7 @@ struct linux_info {
size_t initrd_size;
size_t vram_size;
char cmdline[2048];
int kit_type;
uintptr_t linux_info; // PA of linux_info
};
@@ -156,4 +157,17 @@ void enter_rest_mode(void);
#define DEBUG_PRINT(fmt, ...)
#endif
bool if_exists(const char* path);
bool sceKernelIsTestKit(void);
bool sceKernelIsDevKit(void);
enum kit_type {
KIT_RETAIL,
KIT_TESTKIT,
KIT_DEVKIT
};
enum kit_type get_kit_type(void);
#endif