Changeset 21b6307 in mainline for kernel/arch/amd64/src/amd64.c
- Timestamp:
- 2012-10-31T18:26:45Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3da166f0
- Parents:
- 6bbe470
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/amd64.c
r6bbe470 r21b6307 222 222 * Initialize the ns16550 controller. 223 223 */ 224 #ifdef CONFIG_NS16550_OUT 225 outdev_t *ns16550_out; 226 outdev_t **ns16550_out_ptr = &ns16550_out; 227 #else 228 outdev_t **ns16550_out_ptr = NULL; 229 #endif 224 230 ns16550_instance_t *ns16550_instance 225 = ns16550_init((ns16550_t *) NS16550_BASE, IRQ_NS16550, NULL, NULL); 231 = ns16550_init((ns16550_t *) NS16550_BASE, IRQ_NS16550, NULL, NULL, 232 ns16550_out_ptr); 226 233 if (ns16550_instance) { 227 234 #ifdef CONFIG_NS16550 … … 235 242 #endif 236 243 #ifdef CONFIG_NS16550_OUT 237 outdev_t *ns16550_out = ns16550_output(ns16550_instance);238 244 if (ns16550_out) { 239 245 stdout_wire(ns16550_out);
Note:
See TracChangeset
for help on using the changeset viewer.