KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
elf_prog_t Struct Reference

Kernel-specific definition of a loaded ELF binary. More...

#include <kos/elf.h>

Data Fields

void * data
 Pointer to program in memory.
 
uint32 size
 Memory image size (rounded up to page size)
 
ptr_t lib_get_name
 Pointer to get_name() function.
 
ptr_t lib_get_version
 Pointer to get_version() function.
 
ptr_t lib_open
 Pointer to library's open function.
 
ptr_t lib_close
 Pointer to library's close function.
 
char fn [256]
 Filename of library.
 

Detailed Description

Kernel-specific definition of a loaded ELF binary.

This structure represents the internal representation of a loaded ELF binary in KallistiOS (specifically as a dynamically loaded library).

Field Documentation

◆ data

void* elf_prog_t::data

Pointer to program in memory.

◆ fn

char elf_prog_t::fn[256]

Filename of library.

◆ lib_close

ptr_t elf_prog_t::lib_close

Pointer to library's close function.

◆ lib_get_name

ptr_t elf_prog_t::lib_get_name

Pointer to get_name() function.

◆ lib_get_version

ptr_t elf_prog_t::lib_get_version

Pointer to get_version() function.

◆ lib_open

ptr_t elf_prog_t::lib_open

Pointer to library's open function.

◆ size

uint32 elf_prog_t::size

Memory image size (rounded up to page size)


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