From c15925a24efe14f437d8a2699500241a58fdc8f9 Mon Sep 17 00:00:00 2001 From: Miguel Date: Fri, 17 Aug 2018 21:41:21 +0200 Subject: cleanup and working on fifo pipes --- asm/usermode.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 asm/usermode.h (limited to 'asm/usermode.h') diff --git a/asm/usermode.h b/asm/usermode.h new file mode 100644 index 0000000..9b76db3 --- /dev/null +++ b/asm/usermode.h @@ -0,0 +1,7 @@ +/* + * Switch to User Mode and returin to function given by pointer + * provide the address of a void func() that will be called without + * any params. + */ + +void usermode(uint32_t func); -- cgit v1.2.3