1. 19 8月, 2013 4 次提交
    • G
      device/pipe: add nonblocking read/write and force write mode · d683d32b
      Grissiom 提交于
      The previous implementation will always blocks the reader/writer.
      However, at least FinSh would expect the device to be nonblocking ---
      read should return 0 when there is no data in it.
      d683d32b
    • G
      ringbuffer: add put_force and putchar_force API · 4919d29d
      Grissiom 提交于
      Add the APIs that will discard the old data when rb is full.
      4919d29d
    • G
      ringbuffer: fix the ambiguous name · 981d929b
      Grissiom 提交于
      RT_RINGBUFFER_SIZE could mean "the size of the whole buffer", "the size
      of the empty space" or "the size of the data". Moreover, it's never a
      micro anymore. Change it to rt_ringbuffer_data_len before it's too late.
      Also, RT_RINGBUFFER_EMPTY is changed to rt_ringbuffer_space_len.
      981d929b
    • G
      device/pipe: add rt_pipe_{init,detach} · 38ce3879
      Grissiom 提交于
      This provide the possibility that allocate the buffer of the ringbuffer
      on a specific region, instead of always mallocing it. It also bring us
      the benefit of using pipe device on the systems without heap.
      38ce3879
  2. 28 6月, 2013 1 次提交
  3. 08 5月, 2013 1 次提交
    • G
      reimplement ringbuffer · 639bd303
      Grissiom 提交于
      The new implementation use the mirroring method to distinguish full
      buffer and the empty buffer. It also support buffers of arbitrary size.
      639bd303
  4. 08 1月, 2013 1 次提交
  5. 01 11月, 2012 1 次提交
  6. 28 10月, 2012 1 次提交
  7. 12 10月, 2012 1 次提交
  8. 10 10月, 2012 2 次提交
  9. 30 9月, 2012 1 次提交
  10. 15 9月, 2012 1 次提交
  11. 08 7月, 2012 1 次提交
  12. 02 7月, 2012 1 次提交
  13. 18 6月, 2012 1 次提交
  14. 14 6月, 2012 2 次提交
  15. 01 6月, 2012 1 次提交
  16. 30 5月, 2012 1 次提交
  17. 23 4月, 2012 1 次提交
  18. 03 4月, 2012 1 次提交
  19. 07 2月, 2012 1 次提交
  20. 08 1月, 2012 1 次提交