wm: teppich

Download patch

ref: e97a0dc45f6266ac067b23dabba72e571bde120b
parent: 1c92fba30cc59275858a7754c14a922bafd88420
author: mkf <mkf@cloud9p.org>
date: Tue Nov 28 19:49:02 EST 2023

x86.h: refactor

--- a/include/x86.h
+++ b/include/x86.h
@@ -2,8 +2,12 @@
 #include <u.h>
 
 #define COM1 0x3F8
-#define KB 0x60
-#define KB_CTR 0x64
+
+#define KBD 0x60
+#define KBC 0x64
+
+#define VGAC 0x3d4
+#define VGAD 0x3d5
 
 #define outb(port,data) asm volatile("out %0, %1" : : "a" (data), "d" (port));