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.
      cbd35b68
  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
      Detail:
        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
      Admin:
        Tested on Raspberry Pi 1
      
      
      Version 0.25, 4.8.2.15. Tagged as 'DualSerial-0_25-4_8_2_15'
      6e9eeecc
  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
      Detail:
        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)
      Admin:
        Tested on Raspberry Pi
      
      
      Version 0.25, 4.8.2.14. Tagged as 'DualSerial-0_25-4_8_2_14'
      4953482d
  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.
      ab5096c8
  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
      Detail:
        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
      Admin:
        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, 4.8.2.12. Tagged as 'DualSerial-0_25-4_8_2_12'
      dcc46624
  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
      Detail:
        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
      Admin:
        Tested in OMAP3 & Tungsten ROMs
      
      
      Version 0.25, 4.8.2.11. Tagged as 'DualSerial-0_25-4_8_2_11'
      699ca6c1
  9. 11 Jun, 2009 1 commit
    • Ben Avison's avatar
      GET file pathnames changed · cbfacc0a
      Ben Avison authored
      Detail:
        Uses suffixed file extensions for compatiblity with both objasm and asasm.
      Admin:
        Supplied by Peter Naulls, tested at ROOL
      
      Version 0.25, 4.8.2.10. Tagged as 'DualSerial-0_25-4_8_2_10'
      cbfacc0a
  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
      Detail:
        IOCtl wasn't dividing the returned value from the HAL by 16.
      
      Admin:
        Assembles, not tested.
      
      Version 0.25, 4.8.2.4. Tagged as 'DualSerial-0_25-4_8_2_4'
      11565526
  16. 27 Mar, 2001 1 commit
    • Dan Ellis's avatar
      Fixed modem ioctls · 44990fd5
      Dan Ellis authored
      Detail:
        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.
      
      Admin:
        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, 4.8.2.3. Tagged as 'DualSerial-0_25-4_8_2_3'
      44990fd5
  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
      Detail:
        This version represents the merge of the 32-bit conversion of the DualSerial
          module.
      Admin:
        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'
      2b5a1b7c
  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