From 7e1dd67fd1f1618621dc0b995059e33d6c098aca Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Wed, 4 Oct 2023 01:19:00 -0600 Subject: demo: implement rd, wr cmds --- demo/demo.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'demo/demo.h') diff --git a/demo/demo.h b/demo/demo.h index 5cf41da..a8d81ce 100644 --- a/demo/demo.h +++ b/demo/demo.h @@ -35,6 +35,10 @@ void halt_cpus(unsigned mask); int strcmp(const char *s1, const char *s2); char *strtok_input(char **tokens); +int parse_hex(char **tokens, unsigned *val); +int parse_ptr(char **tokens, void **ptr); +int parse_aligned(char **tokens, void **ptr); int parse_cpu_mask(char **tokens, unsigned *mask); +int expect_end(char **tokens); #endif -- cgit v1.2.3