summaryrefslogtreecommitdiffstats
path: root/sw/z80/kernel/programs.c
diff options
context:
space:
mode:
authorleleraffa97@hotmail.it <leleraffa97@hotmail.it>2017-06-19 13:46:16 +0200
committerleleraffa97@hotmail.it <leleraffa97@hotmail.it>2017-06-19 13:46:16 +0200
commitf85e54f7982d5fefecddccbb11f5aabd478b91d6 (patch)
treeb94a1b06b32119e73c5722fdf97144ae3411321e /sw/z80/kernel/programs.c
parentBoot loader structures (WORK IN PROGRESS) (diff)
downloadz80uPC-f85e54f7982d5fefecddccbb11f5aabd478b91d6.tar.gz
z80uPC-f85e54f7982d5fefecddccbb11f5aabd478b91d6.zip
Authentication section
Programs management
Diffstat (limited to 'sw/z80/kernel/programs.c')
-rw-r--r--sw/z80/kernel/programs.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sw/z80/kernel/programs.c b/sw/z80/kernel/programs.c
index 31593d1..0f75887 100644
--- a/sw/z80/kernel/programs.c
+++ b/sw/z80/kernel/programs.c
@@ -35,6 +35,16 @@ int8_t prog_req(struct program_info *info) {
return prog;
}
+void prog_alloc(int8_t id, struct program_info *info, const struct program_base *base) {
+
+ // TODO, implements program allocation
+}
+
+void prog_exec(int8_t id, struct program_info *info) {
+
+ // TODO, perform a program counter jump
+}
+
void prog_0_qcb(void (*callback)(void)) {
prog_0->quit_cb = callback;