aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-05-14 11:31:28 -0400
committerIan Moffett <ian@osmora.org>2024-05-14 11:31:28 -0400
commitceea8b764baa2e9bf63ffbcb59e93f090f58c5c3 (patch)
tree37591ac2c03bed62a38f916e9f1284e492380f77 /sys
parent3980f6c5b6a637a290939ed53f00894d3aaa97b1 (diff)
kernel: i8254: Add channel 2 port define
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys')
-rw-r--r--sys/include/arch/amd64/isa/i8254.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/arch/amd64/isa/i8254.h b/sys/include/arch/amd64/isa/i8254.h
index fdc95cd..8215bf4 100644
--- a/sys/include/arch/amd64/isa/i8254.h
+++ b/sys/include/arch/amd64/isa/i8254.h
@@ -34,6 +34,7 @@
#define i8254_COMMAND 0x43
#define i8254_CHANNEL_0 0x40
+#define i8254_CHANNEL_2 0x42
#define i8254_DIVIDEND 1193182ULL
uint16_t i8254_get_count(void);