diff options
| author | Marin Ivanov <[email protected]> | 2024-05-01 14:20:21 +0300 |
|---|---|---|
| committer | Marin Ivanov <[email protected]> | 2024-05-01 14:20:21 +0300 |
| commit | 7aaeee46c3bfc0ddaf6845a88a2eef5224f9ceac (patch) | |
| tree | c494a7e5e9cec4caf5e701e7a7a4c25f695f6967 /src/debugcon.zig | |
| parent | c46f576400231e69525f73421b0bb621b16fc0cf (diff) | |
linker defined stack
Diffstat (limited to 'src/debugcon.zig')
| -rw-r--r-- | src/debugcon.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debugcon.zig b/src/debugcon.zig index 94045ab..6014637 100644 --- a/src/debugcon.zig +++ b/src/debugcon.zig @@ -5,7 +5,7 @@ pub inline fn inb(port: u16) u8 { ); } -pub inline fn outb(port: u16, data: u8) void { +pub fn outb(port: u16, data: u8) void { asm volatile ("outb %[data], %[port]" : : [port] "{dx}" (port), |
