ReXGlue SDK
Loading...
Searching...
No Matches
image.h File Reference

PPC image layout, embedded metadata assets and pdata decoding. More...

#include <span>
#include <cstddef>
#include <cstdint>
#include <filesystem>
#include <optional>
#include <string_view>
#include <rex/types.h>
#include <rex/platform.h>

Go to the source code of this file.

Classes

struct  rex::ppc::PPCCodegenFlags
struct  rex::ppc::PPCCallUsage
struct  rex::ppc::PPCImage
struct  rex::ppc::EmbeddedMetadataAsset
struct  rex::ppc::RuntimeFunction

Namespaces

namespace  rex
namespace  rex::kernel
namespace  rex::ppc

Typedefs

using rex::ppc::RegisterModulesFunc = void (*)(kernel::IModuleRegistry& modules)
using rex::ppc::RecompiledCodeFunc = std::span<const u8> (*)()

Enumerations

enum class  rex::ppc::RuntimeFunctionType : u8 { rex::ppc::kSaveMillicode , rex::ppc::kNoHandler , rex::ppc::kRestoreMillicode , rex::ppc::kHandler }

Functions

REX_PPC_API bool rex::ppc::RegisterEmbeddedMetadataAsset (std::string_view relative_path, const u8 *data, std::size_t size)
REX_PPC_API std::optional< EmbeddedMetadataAsset > rex::ppc::FindEmbeddedMetadataAsset (const std::filesystem::path &relative_path)
constexpr RuntimeFunction rex::ppc::DecodeRuntimeFunction (u32 begin, u32 word)

Detailed Description

PPC image layout, embedded metadata assets and pdata decoding.

License
BSD 3-Clause License See LICENSE file in the project root for full license text.