From f52299cf837951cbc1dc92fd0d084444ac3dc712 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Wed, 4 Oct 2023 03:46:29 -0600 Subject: demo: implement cache debug --- demo/demo.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'demo/demo.h') diff --git a/demo/demo.h b/demo/demo.h index a8d81ce..ca6199e 100644 --- a/demo/demo.h +++ b/demo/demo.h @@ -35,10 +35,15 @@ void halt_cpus(unsigned mask); int strcmp(const char *s1, const char *s2); char *strtok_input(char **tokens); +int expect_end(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(char **tokens, unsigned *cpu); int parse_cpu_mask(char **tokens, unsigned *mask); -int expect_end(char **tokens); + +void cache_debug(unsigned cpu, void *ptr); #endif -- cgit v1.2.3