From 212a655ea69218941c9c65f0102672a005723cea Mon Sep 17 00:00:00 2001 From: Marin Ivanov Date: Wed, 1 May 2024 11:48:29 +0300 Subject: wip: minimise the code with the problem --- src/debugcon.zig | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/debugcon.zig') 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" ); } -- cgit v1.2.3