projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Redo makefiles.
[pintos-anon]
/
src
/
devices
/
16550a.h
diff --git
a/src/devices/16550a.h
b/src/devices/16550a.h
index bce26f33c5e66d54461e86d9d386953d021bffc3..9a1e37d733b0efe66482849618c183713d03cbcd 100644
(file)
--- a/
src/devices/16550a.h
+++ b/
src/devices/16550a.h
@@
-3,7
+3,7
@@
#include <stdbool.h>
#include <stdint.h>
#include <stdbool.h>
#include <stdint.h>
-#include "debug.h"
+#include "
lib/
debug.h"
/* Register definitions for the 16550A UART used in PCs. This is
a full definition of all the registers and their bits. We
/* Register definitions for the 16550A UART used in PCs. This is
a full definition of all the registers and their bits. We
@@
-78,7
+78,7
@@
make_lcr (int bits, enum parity_type parity, int stop, bool send_break,
case EVEN: lcr |= 0x18; break;
case MARK: lcr |= 0x28; break;
case SPACE: lcr |= 0x38; break;
case EVEN: lcr |= 0x18; break;
case MARK: lcr |= 0x28; break;
case SPACE: lcr |= 0x38; break;
- default:
panic
("bad parity %d", (int) parity);
+ default:
PANIC
("bad parity %d", (int) parity);
}
ASSERT (stop == 1 || stop == 2);
}
ASSERT (stop == 1 || stop == 2);