taiHEN  1.0
CFW framework for PS Vita
Data Structures | Macros | Typedefs | Functions
Homebrew Enabler

Homebrew enabler patches. More...

Data Structures

struct  _tai_plugin_load
 Arguments passed from taiHEN to config parser back to taiHEN. More...
 

Macros

#define TAIHEN_CONFIG_FILE   "ux0:tai/config.txt"
 

Typedefs

typedef struct _tai_plugin_load tai_plugin_load_t
 Arguments passed from taiHEN to config parser back to taiHEN.
 

Functions

void hen_load_plugin (const char *module, void *param)
 Callback to config parser to load a plugin. More...
 
int hen_load_config (void)
 Load tai config file. More...
 
int hen_free_config (void)
 Frees tai config file. More...
 
int hen_add_patches (void)
 Add kernel patches to disable SELF signature checks. More...
 
int hen_remove_patches (void)
 Removes the kernel patches for SELF loading. More...
 

Detailed Description

Homebrew enabler patches.

Patches kernel to enable homebrew loading

Uses the taiHEN hooks system to inject hooks on SELF decryption functions to accept unsigned/unencrypted SELFs.

Macro Definition Documentation

§ TAIHEN_CONFIG_FILE

#define TAIHEN_CONFIG_FILE   "ux0:tai/config.txt"

Path to the taiHEN configuration file

Definition at line 17 of file hen.h.

Function Documentation

§ hen_add_patches()

int hen_add_patches ( void  )

Add kernel patches to disable SELF signature checks.

Returns
Zero on success, < 0 on error

Definition at line 507 of file hen.c.

§ hen_free_config()

int hen_free_config ( void  )

Frees tai config file.

Returns
Zero on success

Definition at line 467 of file hen.c.

§ hen_load_config()

int hen_load_config ( void  )

Load tai config file.

Allocates memory if a config has not been loaded before. Otherwise, the memory will be reused.

Returns
Zero on success, < 0 on error

Definition at line 392 of file hen.c.

§ hen_load_plugin()

void hen_load_plugin ( const char *  path,
void *  param 
)

Callback to config parser to load a plugin.

If no config is loaded, will return without doing anything.

Parameters
[in]pathThe path to load
[in]paramThe parameters

Definition at line 482 of file hen.c.

§ hen_remove_patches()

int hen_remove_patches ( void  )

Removes the kernel patches for SELF loading.

Returns
Zero on success, < 0 on error

Definition at line 641 of file hen.c.