Commit Graph

6 Commits

Author SHA1 Message Date
Maschell
b9af38c7ff [General] Removed the DISCARD section in the .ld file. This fixes C++ support.. 2018-02-12 20:40:54 +01:00
Maschell
3cc18c2557 [Plugins] Updated the Makefile
- Added some comments
- Linking without --relocatable to check if all symbols can be found
- cleanup
2018-02-11 14:45:20 +01:00
Maschell
81b5bed341 [WUPS] Added Macro for the Initialization hook 2018-02-10 17:00:17 +01:00
Maschell
b6119fde91 [Example Plugin] Updated the example plugin to override the OSFatal function.
The new OSFatal function logs the old message, and the calls the "real" OSFatal with a new String.
[General] - Added the .sdata section to the wups.ld
- Added all library_types to the enum
- Updated the wups_loader_entry_t struct to store the needed data
- Simplified the WUPS_MUST_REPLACE macro
- Removed unneeded stuff
2018-02-10 14:56:07 +01:00
Maschell
10c5eccd93 [Example Plugin] Updated the example plugin
- It's now linking with libc/libutils/libdynamiclibs
- moved the main.c into the a "src" folder

[Loader]- Added DCFlushRange and DCInvalidateRange
- Improved logging.

Finally we can load the plugin from the sdcard and call it's function!
2018-02-09 21:31:05 +01:00
Maschell
679b90cb9f [Example plugin] Added a very basic plugin based on brainslug 2018-02-04 10:14:45 +01:00