ReXGlue SDK
Loading...
Searching...
No Matches
rex::ppc::PPCImage Struct Reference

#include <rex/ppc/image.h>

Public Attributes

u32 code_base
u32 code_size
u32 image_base
u32 image_size
const PPCFuncMapping * func_mappings
bool shim_heap = false
RegisterModulesFunc register_modules = nullptr
PPCCodegenFlags codegen_flags {}
RecompiledCodeFunc recompiled_code
const PPCCallUsage * call_usage = nullptr

Detailed Description

PPC image layout passed from the generated config header into TitleApp::Init.

Member Data Documentation

◆ call_usage

const PPCCallUsage* rex::ppc::PPCImage::call_usage = nullptr

Set by codegen to the argument registers each function reads, ended by address 0.

◆ code_base

u32 rex::ppc::PPCImage::code_base

First guest address of the generated code, given to the function table.

◆ codegen_flags

PPCCodegenFlags rex::ppc::PPCImage::codegen_flags {}

Set by codegen from the config flags.

◆ func_mappings

const PPCFuncMapping* rex::ppc::PPCImage::func_mappings

Guest address and host function pairs registered at startup, ended by guest address 0.

◆ recompiled_code

RecompiledCodeFunc rex::ppc::PPCImage::recompiled_code
Initial value:
=
nullptr

Set by codegen to the generated recompiled code.

◆ register_modules

RegisterModulesFunc rex::ppc::PPCImage::register_modules = nullptr

Set by codegen for multi binary projects.

◆ shim_heap

bool rex::ppc::PPCImage::shim_heap = false

Set by codegen when [shim] holds the heap functions.


The documentation for this struct was generated from the following file: