RetroArch
Classes | Macros | Typedefs | Functions
main.c File Reference
#include <stdio.h>
#include <stdint.h>
#include <stdarg.h>
#include "string.h"
#include <gccore.h>
#include "elf_abi.h"
Include dependency graph for main.c:

Classes

struct  _dolheade
 

Macros

#define SYSTEM_ARGV   ((struct __argv *) 0x93200000)
 
#define EXECUTABLE_MEM_ADDR   0x91800000
 
#define ARENA1_HI_LIMIT   0x81800000
 

Typedefs

typedef struct _dolheade dolheader
 
typedef void(* entrypoint) (void)
 

Functions

static void sync_before_exec (const void *p, uint32_t len)
 
static int32_t valid_elf_image (void *addr)
 
static uint32_t load_elf_image (void *elfstart)
 
static uint32_t load_dol_image (const void *dolstart)
 
void app_booter_main (void)
 

Macro Definition Documentation

◆ ARENA1_HI_LIMIT

#define ARENA1_HI_LIMIT   0x81800000

◆ EXECUTABLE_MEM_ADDR

#define EXECUTABLE_MEM_ADDR   0x91800000

◆ SYSTEM_ARGV

#define SYSTEM_ARGV   ((struct __argv *) 0x93200000)

Typedef Documentation

◆ dolheader

typedef struct _dolheade dolheader

◆ entrypoint

typedef void(* entrypoint) (void)

Function Documentation

◆ app_booter_main()

void app_booter_main ( void  )
Here is the call graph for this function:

◆ load_dol_image()

static uint32_t load_dol_image ( const void dolstart)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ load_elf_image()

static uint32_t load_elf_image ( void elfstart)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sync_before_exec()

static void sync_before_exec ( const void p,
uint32_t  len 
)
static
Here is the caller graph for this function:

◆ valid_elf_image()

static int32_t valid_elf_image ( void addr)
static
Here is the caller graph for this function: