Changeset 6aff507 in rtems for c/src/libchip


Ignore:
Timestamp:
Jul 18, 2007, 12:51:30 PM (12 years ago)
Author:
Thomas Doerfler <Thomas.Doerfler@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
02a3b35
Parents:
c4bf044
Message:

added PPC_e300 to raw_exception.c
removed timed abort in ns16550.c transmit code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/libchip/serial/ns16550.c

    rc4bf044 r6aff507  
    195195  uint32_t                pNS16550;
    196196  unsigned char           ucLineStatus;
    197   int                     iTimeout;
    198197  getRegister_f           getReg;
    199198  setRegister_f           setReg;
     
    206205   * wait for transmitter holding register to be empty
    207206   */
    208   iTimeout=10000;
    209207  ucLineStatus = (*getReg)(pNS16550, NS16550_LINE_STATUS);
    210208  while ((ucLineStatus & SP_LSR_THOLD) == 0) {
     
    218216#endif
    219217     ucLineStatus = (*getReg)(pNS16550, NS16550_LINE_STATUS);
    220      if(!--iTimeout) {
    221        break;
    222      }
    223218  }
    224219
Note: See TracChangeset for help on using the changeset viewer.