aboutsummaryrefslogtreecommitdiff
path: root/src/debugcon.zig
diff options
context:
space:
mode:
authorMarin Ivanov <[email protected]>2024-05-01 11:48:29 +0300
committerMarin Ivanov <[email protected]>2024-05-01 11:48:29 +0300
commit212a655ea69218941c9c65f0102672a005723cea (patch)
tree7c88f40e81cb79335be490fae3b7b2f40941366b /src/debugcon.zig
parent26e457315d5e35677dfdd2d413fbf48ed1c869ee (diff)
wip: minimise the code with the problem
Diffstat (limited to 'src/debugcon.zig')
-rw-r--r--src/debugcon.zig2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/debugcon.zig b/src/debugcon.zig
index 2049d22..94045ab 100644
--- a/src/debugcon.zig
+++ b/src/debugcon.zig
@@ -2,7 +2,6 @@ pub inline fn inb(port: u16) u8 {
return asm volatile ("inb %[port], %[result]"
: [result] "={al}" (-> u8),
: [port] "{dx}" (port),
- : "dx", "al"
);
}
@@ -11,7 +10,6 @@ pub inline fn outb(port: u16, data: u8) void {
:
: [port] "{dx}" (port),
[data] "{al}" (data),
- : "dx", "al"
);
}