Ignore:
Timestamp:
Mar 10, 2016, 4:33:27 PM (5 years ago)
Author:
Joel Sherrill <joel@…>
Branches:
5, master
Children:
36627387
Parents:
f770fcb
Message:

pc386: Improve boot command arguments for console/printk device selection

This patch adds the "--printk=" boot command line argument to specify
the printk() device. It also enhances the "--console=" boot command
line argument to match any device configured in the console device
table. The arguments are parsed as early as possible so they take
effect early. Currently, this is immediately after PCI initialization.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/shared/console_private.h

    rf770fcb rc3c57b1  
    88
    99/*
    10  *  COPYRIGHT (c) 1989-2011.
     10 *  COPYRIGHT (c) 1989-2011, 2016.
    1111 *  On-Line Applications Research Corporation (OAR).
    1212 *
     
    5959
    6060/**
     61 *  @brief console_initialize_data
     62 *
     63 *  This must be called before dynamic registration of devices can occur.
     64 *  It is normally called as a side-effect of @a console_initialize() but
     65 *  if a probe and dynamic registration occurs before that, then this method
     66 *  should be explicitly invoked.
     67 */
     68void console_initialize_data(void);
     69
     70/**
    6171 *  @brief console_register_devices
    6272 *
Note: See TracChangeset for help on using the changeset viewer.