From c7b9039dae860154680ce85c6e74dd3fb4d55e9e Mon Sep 17 00:00:00 2001 From: Maschell Date: Thu, 27 Jan 2022 12:21:55 +0100 Subject: [PATCH] Fix spelling: trampolin -> trampoline --- include/wums/defines/dynamic_linking_defines.h | 2 +- include/wums/defines/module_defines.h | 2 +- include/wums/defines/relocation_defines.h | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/include/wums/defines/dynamic_linking_defines.h b/include/wums/defines/dynamic_linking_defines.h index 6711ea2..406b4dc 100644 --- a/include/wums/defines/dynamic_linking_defines.h +++ b/include/wums/defines/dynamic_linking_defines.h @@ -31,7 +31,7 @@ extern "C" { #define DYN_LINK_FUNCTION_LIST_LENGTH 500 #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 { char functionName[DYN_LINK_FUNCTION_NAME_LENGTH + 1]; diff --git a/include/wums/defines/module_defines.h b/include/wums/defines/module_defines.h index 4ca3f73..0b0c5e9 100644 --- a/include/wums/defines/module_defines.h +++ b/include/wums/defines/module_defines.h @@ -73,7 +73,7 @@ typedef struct module_information_t { uint32_t version; int32_t number_used_modules; // Number of used function. Maximum is MAXIMUM_MODULES 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]; uint32_t number_used_function_symbols; module_information_single_t module_data[MAXIMUM_MODULES]; diff --git a/include/wums/defines/relocation_defines.h b/include/wums/defines/relocation_defines.h index 39b2a42..e2719b8 100644 --- a/include/wums/defines/relocation_defines.h +++ b/include/wums/defines/relocation_defines.h @@ -2,20 +2,20 @@ #include -typedef enum RelocationTrampolinStatus{ +typedef enum RelocationTrampolineStatus{ RELOC_TRAMP_FREE = 0, RELOC_TRAMP_FIXED = 1, RELOC_TRAMP_IMPORT_IN_PROGRESS = 2, RELOC_TRAMP_IMPORT_DONE = 3, -} RelocationTrampolinStatus; +} RelocationTrampolineStatus; typedef enum RelocationType{ RELOC_TYPE_FIXED = 0, RELOC_TYPE_IMPORT = 1 } RelocationType; -typedef struct relocation_trampolin_entry_t { +typedef struct relocation_trampoline_entry_t { uint32_t id; - uint32_t trampolin[4]; - RelocationTrampolinStatus status; -} relocation_trampolin_entry_t; + uint32_t trampoline[4]; + RelocationTrampolineStatus status; +} relocation_trampoline_entry_t;