More sys_uart packets (#11332)

* Additional sys_uart packets added
This commit is contained in:
Vestrel
2022-01-10 09:43:54 +09:00
committed by GitHub
parent 83026fd263
commit 1adc408ad7
7 changed files with 2457 additions and 127 deletions
+7
View File
@@ -19,8 +19,15 @@ public:
simple_ringbuf() {};
simple_ringbuf(u32 size);
simple_ringbuf(const simple_ringbuf&) = delete;
simple_ringbuf& operator=(const simple_ringbuf&) = delete;
simple_ringbuf(simple_ringbuf&& other);
simple_ringbuf& operator=(simple_ringbuf&& other);
u32 get_free_size();
u32 get_used_size();
u32 get_total_size();
// Thread unsafe functions.
void set_buf_size(u32 size);