WIP: Works.
But I don't like it much yet.
This commit is contained in:
3
runner.c
3
runner.c
@@ -16,7 +16,8 @@ void execute_library_function() {
|
||||
while ((uint32_t)ptr < RAM_END) {
|
||||
if (*ptr == LIB_MAGIC) {
|
||||
printf("Found libpqscheme_test 0x%X!\n", ptr);
|
||||
entry_point = RAM_START + (*(ptr + 1));
|
||||
entry_point = (*(ptr + 1));
|
||||
printf("Calling function at 0x%X\n", entry_point);
|
||||
entry_point |= 1; // Ensure thumb mod
|
||||
func_t test_func = (func_t)(entry_point);
|
||||
if (test_func) {
|
||||
|
||||
Reference in New Issue
Block a user