Fix spelling: trampolin -> trampoline

This commit is contained in:
Maschell 2022-01-27 12:21:55 +01:00
parent 32044725ef
commit c7b9039dae
3 changed files with 8 additions and 8 deletions

View File

@ -31,7 +31,7 @@ extern "C" {
#define DYN_LINK_FUNCTION_LIST_LENGTH 500 #define DYN_LINK_FUNCTION_LIST_LENGTH 500
#define DYN_LINK_IMPORT_LIST_LENGTH 50 #define DYN_LINK_IMPORT_LIST_LENGTH 50
#define DYN_LINK_TRAMPOLIN_LIST_LENGTH DYN_LINK_FUNCTION_LIST_LENGTH #define DYN_LINK_TRAMPOLINE_LIST_LENGTH DYN_LINK_FUNCTION_LIST_LENGTH
typedef struct _dyn_linking_function_t { typedef struct _dyn_linking_function_t {
char functionName[DYN_LINK_FUNCTION_NAME_LENGTH + 1]; char functionName[DYN_LINK_FUNCTION_NAME_LENGTH + 1];

View File

@ -73,7 +73,7 @@ typedef struct module_information_t {
uint32_t version; uint32_t version;
int32_t number_used_modules; // Number of used function. Maximum is MAXIMUM_MODULES int32_t number_used_modules; // Number of used function. Maximum is MAXIMUM_MODULES
dyn_linking_relocation_data_t linking_data; dyn_linking_relocation_data_t linking_data;
relocation_trampolin_entry_t trampolines[DYN_LINK_TRAMPOLIN_LIST_LENGTH]; relocation_trampoline_entry_t trampolines[DYN_LINK_TRAMPOLINE_LIST_LENGTH];
module_function_symbol_data_t function_symbols[FUNCTION_SYMBOL_LIST_LENGTH]; module_function_symbol_data_t function_symbols[FUNCTION_SYMBOL_LIST_LENGTH];
uint32_t number_used_function_symbols; uint32_t number_used_function_symbols;
module_information_single_t module_data[MAXIMUM_MODULES]; module_information_single_t module_data[MAXIMUM_MODULES];

View File

@ -2,20 +2,20 @@
#include <stdint.h> #include <stdint.h>
typedef enum RelocationTrampolinStatus{ typedef enum RelocationTrampolineStatus{
RELOC_TRAMP_FREE = 0, RELOC_TRAMP_FREE = 0,
RELOC_TRAMP_FIXED = 1, RELOC_TRAMP_FIXED = 1,
RELOC_TRAMP_IMPORT_IN_PROGRESS = 2, RELOC_TRAMP_IMPORT_IN_PROGRESS = 2,
RELOC_TRAMP_IMPORT_DONE = 3, RELOC_TRAMP_IMPORT_DONE = 3,
} RelocationTrampolinStatus; } RelocationTrampolineStatus;
typedef enum RelocationType{ typedef enum RelocationType{
RELOC_TYPE_FIXED = 0, RELOC_TYPE_FIXED = 0,
RELOC_TYPE_IMPORT = 1 RELOC_TYPE_IMPORT = 1
} RelocationType; } RelocationType;
typedef struct relocation_trampolin_entry_t { typedef struct relocation_trampoline_entry_t {
uint32_t id; uint32_t id;
uint32_t trampolin[4]; uint32_t trampoline[4];
RelocationTrampolinStatus status; RelocationTrampolineStatus status;
} relocation_trampolin_entry_t; } relocation_trampoline_entry_t;