change log for rtems (2011-02-15)
Joel Sherrill
joel.sherrill at OARcorp.com
Wed Feb 16 14:37:17 UTC 2011
On 02/16/2011 08:35 AM, Sebastian Huber wrote:
> On 02/16/2011 03:31 PM, Joel Sherrill wrote:
>> On 02/16/2011 01:43 AM, Sebastian Huber wrote:
>>> On 02/16/2011 01:10 AM, rtems-vc at rtems.org wrote:
>>> [...]
>>>> diff -u rtems/c/src/libchip/serial/ns16550_p.h:1.15
>>>> rtems/c/src/libchip/serial/ns16550_p.h:1.16
>>>> --- rtems/c/src/libchip/serial/ns16550_p.h:1.15 Fri Apr 9
>>>> 17:44:05 2010
>>>> +++ rtems/c/src/libchip/serial/ns16550_p.h Tue Feb 15 17:25:24 2011
>>>> @@ -27,7 +27,7 @@
>>>> * will show up in the symbol table.
>>>> */
>>>>
>>>> -#define NS16550_STATIC static
>>>> +#define NS16550_STATIC
>>>>
>>>> #define NS16550_RECEIVE_BUFFER 0
>>>> #define NS16550_TRANSMIT_BUFFER 0
>>> [...]
>>>
>>> What is the cause for this?
>>>
>> So you can use the libchip support for printk.
>>
>> There is a replacement driver for the pc386 coming.
>>
>>
> What about this?
>
> static void output_char(char c)
> {
> const console_fns *con = Console_Port_Tbl [Console_Port_Minor].pDeviceFns;
>
> if (c == '\n') {
> con->deviceWritePolled((int) Console_Port_Minor, '\r');
> }
> con->deviceWritePolled((int) Console_Port_Minor, c);
> }
>
> BSP_output_char_function_type BSP_output_char = output_char;
>
> BSP_polling_getchar_function_type BSP_poll_char = NULL;
>
printk support. BSPs with libchip serial
drivers had hacked up serial support.
If you want to revers the static change, go
ahead. I think the above will cover it.
--
Joel Sherrill, Ph.D. Director of Research& Development
joel.sherrill at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the vc
mailing list