Frans Kaashoek
7086197c27
Simplify uartputc slightly (thanks Harry Porter)
3 years ago
Frans Kaashoek
dd5a720044
cosmetic changes (thanks Harry Porter)
3 years ago
amane-uehara
dd6d5d0a41
I fixed a typo in the comment.
4 years ago
Robert Morris
329935eca8
fix uart.c to work with UART_TX_BUF_SIZE == 1
5 years ago
Matt Harvey
6781ac0036
Corrects order of UART RX/TX interrupt enable bits
...
(per http://byterunner.com/16550.html and manually tested in qemu bare metal echo)
5 years ago
Robert Morris
490f91ab53
move panicked check to uart.c
5 years ago
Robert Morris
2ae9c8e272
defines for UART register bits
6 years ago
Robert Morris
0f50e9527c
fix printf() in interrupts
6 years ago
Robert Morris
27057bc9b4
interrupt-driven uart output, hopefully a nice example for teaching.
6 years ago
Robert Morris
1ec50c5848
xxx
7 years ago
Robert Morris
629faafa36
cleaner UART register interface
7 years ago
Robert Morris
a33f60fea3
console/uart tweaks
7 years ago
Frans Kaashoek
67702cf706
Checkpoint switching to per-process locks, in attempt clarify xv6's
...
locking plan, which is a difficult to understand because ptable lock
protects many invariants. This implementation has a bug: once in a
while xv6 unlocks a proc lock that is locked by another core.
7 years ago
Robert Morris
5753553213
separate source into kernel/ user/ mkfs/
7 years ago