feat(api): Add initial argument passing
This allows pycardium to learn which script it should start once it
boots. Arguments can only be read before any API calls are made.
Afterward they are lost.
To ensure they won't collide with anything during a core 1 restart,
they are offset by 0x20 from the start of the API buffer.
Signed-off-by:
Rahix <rahix@rahix.de>
Showing
- epicardium/api/caller.c 22 additions, 0 deletionsepicardium/api/caller.c
- epicardium/api/caller.h 9 additions, 0 deletionsepicardium/api/caller.h
- epicardium/api/dispatcher.c 22 additions, 4 deletionsepicardium/api/dispatcher.c
- epicardium/api/dispatcher.h 6 additions, 2 deletionsepicardium/api/dispatcher.h
- pycardium/main.c 17 additions, 2 deletionspycardium/main.c
Please register or sign in to comment