1. 14 Jul, 2018 1 commit
    • Robert Sprowson's avatar
      Fix memory leak on error · cbd35b68
      Robert Sprowson authored
      Don't leak pchBuffer on error.
      Found by cppcheck static analysis.
      Tagged as DualSerial-0_25-4_8_2_16-1 since DualSerial itself is unchanged.
  2. 24 Apr, 2017 1 commit
  3. 25 Oct, 2016 1 commit
    • Jeffrey Lee's avatar
      Fix RX error handling. Fix crash on *RMReinit · 6e9eeecc
      Jeffrey Lee authored
        s/serialhal - Adjust IRQ handler so that both line status interrupts and RX interrupts are handled via HAL_UARTReceiveByte (with line status return), so that the module can deal with controllers where the IRQ state doesn't correspond to the top byte in the FIFO (e.g. PL011), and so it can avoid the ambiguity around HAL_UARTLineStatus.
        s/main - Fix CloseMessages to take into account the possibility of the workspace pointer being null
        Tested on Raspberry Pi 1
      Version 0.25, Tagged as 'DualSerial-0_25-4_8_2_15'
  4. 09 Oct, 2016 1 commit
    • Jeffrey Lee's avatar
      Add support for UARTs that have a FIFO threshold for the "transmitter empty" IRQ · 4953482d
      Jeffrey Lee authored
        s/main, s/serialhal - For threshold-based transmitter empty IRQs, make UpdateDTRRTSTXI710 transmit as many bytes as possible until we either hit the FIFO upper limit or decide to stop. This is required to "prime" the interrupt because it may only update when the FIFO level crosses the threshold (e.g. PL011)
        Tested on Raspberry Pi
      Version 0.25, Tagged as 'DualSerial-0_25-4_8_2_14'
  5. 04 Jul, 2015 1 commit
    • Robert Sprowson's avatar
      Comment correction · ab5096c8
      Robert Sprowson authored
      Comments now reflect what they do rather than where they were copied & pasted from.
      Retagged as DualSerial-0_25-4_8_2_13.
  6. 21 Jun, 2015 1 commit
  7. 11 Jun, 2012 1 commit
    • Jeffrey Lee's avatar
      Fix HAL_UARTModemControl parameters. Fix UAL warning caused by typo. · dcc46624
      Jeffrey Lee authored
        s/serialhal - Fixed HAL_UARTModemControl being called with r2 uninitialised, causing modem control lines to be set to unpredictable values
        s/main - Fixed UAL syntax warning caused by typo
        Tested on rev A2 BB-xM
        HAL now reports correct modem control line states when control lines are poked via OS_SerialOp
      Version 0.25, Tagged as 'DualSerial-0_25-4_8_2_12'
  8. 04 Jun, 2012 1 commit
    • Jeffrey Lee's avatar
      Rewrite module to add support for acting as a client of SerialSupport · 699ca6c1
      Jeffrey Lee authored
        In order to act as a client of SerialSupport, DualSerial needs to support the set of device calls that SerialSupport uses to talk to the serial driver.
        This set of device calls operates at a lower level than the IOCtl interface which DualSerial already supports.
        Therefore simply adding the new device call interface ontop of DualSerial (or modifying SerialSupport to add IOCtl support) would have been a risky venture, due to the many complexities hidden in the Serial module sources.
        So to reduce the amount of risk inherent in the change, I've instead taken the Serial module, stripped out 6551 support, rewritten the 710 interface to use HAL calls, and then bolted the IOCtl interface on top.
        This should ensure the SerialSupport/OS_SerialOp interface is identical to that provided by the Serial module, and only the simpler to understand DualSerial/IOCtl interface is the one likely to contain any bugs.
        File changes:
        - Docs/serial.htm - Added a copy of the IOCtl interface docs, from the Ursula branch
        - s/common, s/errors, s/init, s/macros, s/main - New implementation of the module, based around modified Serial sources
        - s/serialhal - The business end of the module, based around s/Serial710 in the Serial sources
        - s/ioctl - New file containing reimplemented IOCtl interface
        - s/devicecall, s/hardware, s/interrupts, s/standalone - Deleted redundant files from old implementation
        - Makefile - Trimmed somewhat redundant comment
        - resources/UK/messages - Added new error messages
        Tested in OMAP3 & Tungsten ROMs
      Version 0.25, Tagged as 'DualSerial-0_25-4_8_2_11'
  9. 11 Jun, 2009 1 commit
    • Ben Avison's avatar
      GET file pathnames changed · cbfacc0a
      Ben Avison authored
        Uses suffixed file extensions for compatiblity with both objasm and asasm.
        Supplied by Peter Naulls, tested at ROOL
      Version 0.25, Tagged as 'DualSerial-0_25-4_8_2_10'
  10. 13 Jul, 2004 1 commit
  11. 02 Jul, 2004 1 commit
  12. 31 Mar, 2003 1 commit
  13. 29 Mar, 2003 1 commit
  14. 22 May, 2001 1 commit
  15. 30 Mar, 2001 1 commit
    • Dan Ellis's avatar
      Baud rate return is even more correct. · 11565526
      Dan Ellis authored
        IOCtl wasn't dividing the returned value from the HAL by 16.
        Assembles, not tested.
      Version 0.25, Tagged as 'DualSerial-0_25-4_8_2_4'
  16. 27 Mar, 2001 1 commit
    • Dan Ellis's avatar
      Fixed modem ioctls · 44990fd5
      Dan Ellis authored
        The function hardware_ctrl_lines which is called from the modem ioctl,
      wasn't preserving r3, which points to the ioctl data buffer, hence modem
      ioctls weren't functioning correctly.  r3 was being corrupted by a HAL call,
      which must be ATPC compliant i.e. r0-r3 are corrupted.
        Tested on customer L board by RMFastering the serial module and patching it with
      memorya.  The ioctl calls then worked and the dialler worked.
      Version 0.25, Tagged as 'DualSerial-0_25-4_8_2_3'
  17. 20 Mar, 2001 1 commit
  18. 16 Mar, 2001 1 commit
  19. 09 Jan, 2001 1 commit
    • Stewart Brodie's avatar
      Merge of 32-bit branch. · 2b5a1b7c
      Stewart Brodie authored
        This version represents the merge of the 32-bit conversion of the DualSerial
        This module has received a modest amount of testing, however, it has not
          been exhaustively tested.  Projects taking this version should be careful
          of it as it may contain bugs.
      Version 0.25. Tagged as 'DualSerial-0_25'
  20. 05 Jul, 2000 1 commit
  21. 26 Oct, 1999 1 commit
  22. 16 Aug, 1999 1 commit
  23. 29 Sep, 1998 2 commits
  24. 21 Sep, 1998 2 commits
  25. 22 Jan, 1997 1 commit
  26. 16 Dec, 1996 1 commit
  27. 21 Nov, 1996 1 commit