1. 20 8月, 2013 1 次提交
    • G
      dev/portal: implement portal device · 6e676e77
      Grissiom 提交于
      Portal is a device that connect devices. Currently, you can only connect
      pipes in portal. Pipes are unidirectional. But with portal, you can
      construct a bidirectional device with two pipes.
      6e676e77
  2. 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
  3. 28 6月, 2013 1 次提交
  4. 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
  5. 08 1月, 2013 1 次提交
  6. 01 11月, 2012 1 次提交
  7. 28 10月, 2012 1 次提交
  8. 12 10月, 2012 1 次提交
  9. 10 10月, 2012 2 次提交
  10. 30 9月, 2012 1 次提交
  11. 15 9月, 2012 1 次提交
  12. 08 7月, 2012 1 次提交
  13. 02 7月, 2012 1 次提交
  14. 18 6月, 2012 1 次提交
  15. 14 6月, 2012 2 次提交
  16. 01 6月, 2012 1 次提交
  17. 30 5月, 2012 1 次提交
  18. 23 4月, 2012 1 次提交
  19. 03 4月, 2012 1 次提交
  20. 07 2月, 2012 1 次提交
  21. 08 1月, 2012 1 次提交