From e2006e4ecf1571b1a7def59809286e3c9b2860d2 Mon Sep 17 00:00:00 2001 From: Jet Hughes Date: Tue, 1 Nov 2022 14:19:33 +1300 Subject: [PATCH] vault backup: 2022-11-01 14:19:33 --- content/notes/23-IO-systems.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 content/notes/23-IO-systems.md diff --git a/content/notes/23-IO-systems.md b/content/notes/23-IO-systems.md new file mode 100644 index 000000000..84041ce02 --- /dev/null +++ b/content/notes/23-IO-systems.md @@ -0,0 +1,31 @@ +--- +title: "23-IO-systems" +aliases: +tags: +- cosc204 +- lecture +--- + +interactive between device drivers and IO devices + +# Hardware +- IO device linked to machine via Port +- link is a set of wires called a Bus +- as each end of the link is a device controller (basically a process) +- ![diagram|400](https://i.imgur.com/qnmTxrb.png) + +![more complete diagram of PCI bus|400](https://i.imgur.com/fbJqpwr.png) + +device controller registers +- each contoller has registers for holding signals +- CPU can read and write these +- some hold data some control signals + +adressesing devices +- each port has an address range +- CPU can issue IO instructions to particular addresses +- communication can be 1 byte at a time for via direct memory access + +# Kernel interface + +# Performance