I fixed a typo in the comment.

This commit is contained in:
amane-uehara 2020-12-12 03:08:14 +09:00 committed by Frans Kaashoek
parent 49f1e2f888
commit dd6d5d0a41

View file

@ -43,7 +43,7 @@ struct spinlock uart_tx_lock;
#define UART_TX_BUF_SIZE 32
char uart_tx_buf[UART_TX_BUF_SIZE];
uint64 uart_tx_w; // write next to uart_tx_buf[uart_tx_w % UART_TX_BUF_SIZE]
uint64 uart_tx_r; // read next from uart_tx_buf[uar_tx_r % UART_TX_BUF_SIZE]
uint64 uart_tx_r; // read next from uart_tx_buf[uart_tx_r % UART_TX_BUF_SIZE]
extern volatile int panicked; // from printf.c