Changeset 8d50380 in rtems


Ignore:
Timestamp:
Jan 29, 2009, 2:57:22 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
ee0f1e6
Parents:
b897028
Message:

2009-01-29 Sebastian Huber <sebastian.huber@…>

  • bsp_howto/console.t: Clarify interrupt transmit process.
  • user/concepts.t: Typo.
Location:
doc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • doc/ChangeLog

    rb897028 r8d50380  
     12009-01-29      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * bsp_howto/console.t: Clarify interrupt transmit process.
     4        * user/concepts.t: Typo.
     5
    162008-12-19      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • doc/bsp_howto/console.t

    rb897028 r8d50380  
    371371The @code{my_driver_interrupt_write} function is responsible for telling the
    372372device that the @code{n} characters at @code{buf} are to be transmitted.  The
    373 return value may be arbitrary since it is not checked from Termios.
     373return value may be arbitrary since it is not checked from Termios.  It is
     374guaranteed that @code{n} is greater than zero.  This routine is invoked either
     375from task context with disabled interrupts to start a new transmission process
     376with exactly one character in case of an idle output state or from the
     377interrupt handler to refill the transmitter.  If the routine is invoked to
     378start the transmit process the output state will become busy and Termios starts
     379to fill the output buffer.  If the transmit interrupt arises before Termios was
     380able to fill the transmit buffer you will end up with one interrupt per
     381character.
    374382
    375383@example
  • doc/user/concepts.t

    rb897028 r8d50380  
    8686
    8787@ifset is-C
    88 @findex rtems_get_object_name
    89 
    90 RTEMS provides a helper routine, @code{@value{DIRPREFIX}get_object_name},
     88@findex rtems_object_get_name
     89
     90RTEMS provides a helper routine, @code{@value{DIRPREFIX}object_get_name},
    9191which can be used to obtain the name of any RTEMS object using just
    9292its ID.  This routine attempts to convert the name into a printable string.
     
    104104  char *result;
    105105
    106   result = rtems_get_object_name( id, sizeof(buffer), buffer );
     106  result = rtems_object_get_name( id, sizeof(buffer), buffer );
    107107  printk( "ID=0x%08x name=%s\n", id, ((result) ? result : "no name") );
    108108@}
Note: See TracChangeset for help on using the changeset viewer.