GEL  0.99
arch_plugin_s Struct Reference

#include <gel/gel_types_plugin.h>

Data Fields

u16_t machine
 
u8_t version
 
u8_t stack_align
 
void * dlh
 
int(* plug_do_reloc )(gel_image_t *r, int flags)
 
u32_t align
 
u32_t psize
 

Detailed Description

Plugin structure for architecture-dependent features.

Field Documentation

◆ align

arch_plugin_s arch_plugin_s::align

Undocumented.

◆ dlh

arch_plugin_s arch_plugin_s::dlh

DL-handle of the plug-in.

◆ machine

arch_plugin_s arch_plugin_s::machine

Architecture identifier.

◆ plug_do_reloc

arch_plugin_s arch_plugin_s::plug_do_reloc

Function performing the relocation of image.

Parameters
rImage to relocate.
flagsFlags (one of GEL_IMAGE_PLTBLOCK_NOW, GEL_IMAGE_PLTBLOCK_LAZY).
Returns
Error code.

◆ psize

arch_plugin_s arch_plugin_s::psize

Page size of the system.

◆ stack_align

arch_plugin_s arch_plugin_s::stack_align

Stack alignment constraint (raise this value to power 2 to get byte alignment).

◆ version

arch_plugin_s arch_plugin_s::version

Version of the plug-in.


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