mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-21 12:21:49 +03:00
645a7c5989
* FBT: build and add FastFAP(tm) sections * Elf file: fast loading fap files. Really fast, like x15 times faster. * fastfap.py: cleanup unused imports * Toolchain: 23 version * Elf File: remove log messages * Scripts: fix file permissions * FBT: explicit interpreter for fastfap invocation Co-authored-by: あく <alleteam@gmail.com>
17 lines
364 B
C
17 lines
364 B
C
#pragma once
|
|
|
|
#include <elf.h>
|
|
#include <stdbool.h>
|
|
|
|
/**
|
|
* @brief Interface for ELF loader to resolve symbols
|
|
*/
|
|
typedef struct ElfApiInterface {
|
|
uint16_t api_version_major;
|
|
uint16_t api_version_minor;
|
|
bool (*resolver_callback)(
|
|
const struct ElfApiInterface* interface,
|
|
uint32_t hash,
|
|
Elf32_Addr* address);
|
|
} ElfApiInterface;
|