diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2016-10-20 23:43:29 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2016-10-20 23:43:29 +0100 |
commit | c3c5f1e5fe27574220c3e94a79048e066cacc121 (patch) | |
tree | 445096a0365cc45c959091355852c9b63d8a338a /asm.h | |
download | fmk-c3c5f1e5fe27574220c3e94a79048e066cacc121.tar.gz fmk-c3c5f1e5fe27574220c3e94a79048e066cacc121.tar.xz fmk-c3c5f1e5fe27574220c3e94a79048e066cacc121.zip |
Init commit
Diffstat (limited to 'asm.h')
-rw-r--r-- | asm.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -0,0 +1,7 @@ +#ifndef ASM_H +#define ASM_H + +#define CLI() __asm__ volatile ("cpsid i") +#define STI() __asm__ volatile ("cpsie i") + +#endif /* ASM_H */ |