Commit Graph

30 Commits

Author SHA1 Message Date
Maschell 82d1ce0f1b Implement assert and abort 2024-04-24 17:22:11 +02:00
Maschell f0dbd47aad Allow exports with custom name 2024-04-24 17:22:11 +02:00
Maschell 004f7f76e8 Make sure wut_get_thread_specific has been overriden properly 2023-07-19 16:14:05 +02:00
Maschell 313f281ee8 Fix reent usage for modules 2023-06-22 16:27:17 +02:00
Maschell b855534a68 Add WUMS_DEINITIALIZE hook 2023-01-06 15:30:04 +01:00
Maschell a2ca8a5777 Add WUMS_DEPENDS_ON macro, bump version to 0.3.2 2023-01-06 15:30:04 +01:00
Maschell 42a0ef7472 Store the wums version in the correct meta tag 2023-01-06 15:30:04 +01:00
Maschell 00ce285fe6 Update module_information_t struct and add information about the RPL acquired by modules 2022-10-05 15:34:29 +02:00
Maschell 6dd8a36427 Override abort with a simple OSFatal call 2022-05-12 23:49:49 +02:00
Maschell 4ab8bccd5e Update module_information_t struct 2022-05-07 20:44:40 +02:00
Maschell fdf9993069 Format the code via clang-format 2022-02-04 22:31:54 +01:00
Maschell c7b9039dae Fix spelling: trampolin -> trampoline 2022-01-27 12:21:55 +01:00
Maschell 32044725ef WUMS 0.3.1 add hook for calling __ini and __fini 2022-01-21 19:12:01 +01:00
Maschell 5da3dd5a77 WUMS 0.3 - store up to 50000 function symbols inside the global module struct 2021-12-07 17:45:38 +01:00
Maschell fd21c46d8c WUMS 0.2.1, increase maximum number of plugin to 32 2021-10-31 16:08:31 +01:00
Maschell 47bbd9a3b3 Formatting 2021-09-23 22:40:10 +02:00
Maschell c5af736523 Implement WUMS 0.2 2021-09-17 16:17:54 +02:00
Maschell 00cb2d64bd Add WUMS_APPLICATION_REQUESTS_EXIT hook 2021-03-13 11:03:42 +01:00
Maschell a9aabcd149 Add WUMS_MODULE_SKIP_WUT_INIT() macro to skip wut init/fini calls 2021-02-19 16:35:44 +01:00
Maschell b580b4aa0b Rename WUMS_MODULE_INIT_BEFORE_ENTRYPOINT() to WUMS_MODULE_INIT_BEFORE_RELOCATION_DONE_HOOK(), add WUMS_MODULE_SKIP_ENTRYPOINT()
- Bump module information version to 2
- Bump WUMS version to 0.1.1
2020-12-26 15:49:11 +01:00
Maschell a9a535306b Add "Relocations done" hook 2020-06-25 18:44:59 +02:00
Maschell e266969c9f Update the module_information_t struct to store the current version of the struct. 2020-06-10 14:11:28 +02:00
Maschell 728b6e182c Add the macro for using the "init before entrypoint" flag 2020-06-10 14:10:54 +02:00
Maschell 090efd9ab0 The WUMS_INITIALIZE now has an argument which provides a pointer to the module_information_t struct 2020-06-06 22:40:52 +02:00
Maschell c88c061613 Add module defines 2020-06-06 16:46:11 +02:00
Maschell bd3a9e2cd2 Add some more hooks 2020-06-03 19:30:58 +02:00
Maschell e34863d75a The entrypoint is now called ONCE by the SetupPayload. Replace the usage by `WUMS_APPLICATION_STARTS` 2020-06-03 19:30:45 +02:00
Maschell c161712aef Fix data exports 2020-05-30 21:47:14 +02:00
Maschell 67582c8e1d Add initial support for hooks 2020-05-29 17:37:01 +02:00
Maschell 6b7ccf7e95 First commit 2020-05-17 21:12:26 +02:00