Changeset 24b06199 in mainline for kernel/arch/ia32/src/ia32.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/ia32/src/ia32.c

    r3296df5 r24b06199  
    5656#include <genarch/kbrd/kbrd.h>
    5757#include <genarch/srln/srln.h>
     58#include <genarch/drivers/dsrln/dsrlnout.h>
    5859#include <genarch/multiboot/multiboot.h>
    5960#include <genarch/multiboot/multiboot2.h>
     
    189190#endif
    190191       
     192#ifdef CONFIG_NS16550_DSRLNOUT
     193        /*
     194         * Initialize dummy serial output to the ns16550.
     195         */
     196        outdev_t *dsrlndev = dsrlnout_init(NS16550_BASE);
     197        if (dsrlndev) {
     198                stdout_wire(dsrlndev);
     199        }
     200#endif
     201       
    191202        if (irqs_info != NULL)
    192203                sysinfo_set_item_val(irqs_info, NULL, true);
Note: See TracChangeset for help on using the changeset viewer.