v2 initial commit

This commit is contained in:
Michael Shaw 2026-04-11 11:35:31 -04:00
commit d2ef885e8d
118 changed files with 2420 additions and 9320 deletions

28
amd64/drivers/pio.S Normal file
View file

@ -0,0 +1,28 @@
/* SPDX-License-Identifier: GPL-2.0-only */
.intel_syntax noprefix
.global outb
outb:
mov ax, si
mov dx, di
out dx, al
ret
.global inb
inb:
mov dx, di
in al, dx
ret
.global outw
outw:
mov ax, si
mov dx, di
out dx, ax
ret
.global inw
inw:
mov dx, di
in ax, dx
ret