diff options
| author | Marin Ivanov <[email protected]> | 2024-05-01 11:48:29 +0300 |
|---|---|---|
| committer | Marin Ivanov <[email protected]> | 2024-05-01 11:48:29 +0300 |
| commit | 212a655ea69218941c9c65f0102672a005723cea (patch) | |
| tree | 7c88f40e81cb79335be490fae3b7b2f40941366b /src/debugcon.zig | |
| parent | 26e457315d5e35677dfdd2d413fbf48ed1c869ee (diff) | |
wip: minimise the code with the problem
Diffstat (limited to 'src/debugcon.zig')
| -rw-r--r-- | src/debugcon.zig | 2 |
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" ); } |
