Changeset 24b06199 in mainline for kernel/arch/amd64/src/amd64.c


Ignore:
Timestamp:
2012-10-28T22:45:25Z (11 years ago)
Author:
Martin Sucha <sucha14@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5030acad
Parents:
3296df5
Message:

Add option for ns16550 to be used as dummy serial output.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/src/amd64.c

    r3296df5 r24b06199  
    5555#include <genarch/kbrd/kbrd.h>
    5656#include <genarch/srln/srln.h>
     57#include <genarch/drivers/dsrln/dsrlnout.h>
    5758#include <genarch/multiboot/multiboot.h>
    5859#include <genarch/multiboot/multiboot2.h>
     
    234235        }
    235236#endif
     237
     238#ifdef CONFIG_NS16550_DSRLNOUT
     239        /*
     240         * Initialize dummy serial output to the ns16550.
     241         */
     242        outdev_t *dsrlndev = dsrlnout_init(NS16550_BASE);
     243        if (dsrlndev) {
     244                stdout_wire(dsrlndev);
     245        }
     246#endif
    236247       
    237248        if (irqs_info != NULL)
Note: See TracChangeset for help on using the changeset viewer.