aboutsummaryrefslogtreecommitdiff
path: root/src/utils/asm.h
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2021-04-12 10:13:21 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2021-04-12 10:13:21 +0200
commit39713a3736145483dd3310c3605f940ca34f05c3 (patch)
treed4dcdf0f3b667a5d706aa4b04501a71facf186bd /src/utils/asm.h
parent6edeba8fe208fb019aec00fdc72b97407a8078d3 (diff)
Refactoring
Diffstat (limited to 'src/utils/asm.h')
-rw-r--r--src/utils/asm.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/utils/asm.h b/src/utils/asm.h
deleted file mode 100644
index be265d8..0000000
--- a/src/utils/asm.h
+++ /dev/null
@@ -1,13 +0,0 @@
-#ifndef ASM_H
-#define ASM_H
-
-#define outb(port,value) \
- asm volatile ("outb %%al, %%dx" :: "a"(value), "d" (port) )
-
-#define outbj(port,value) \
- asm volatile ("outb %%al, %%dx;" :: "a" (value), "d"(port) )
-
-#define inb(port,dst) \
- asm volatile ("inb %%dx, %%al": "=a" (dst) : "d" (port))
-
-#endif \ No newline at end of file