char-ringbuf.c (e688df6bc4549f28534cdb001f168b8caae55b0c) char-ringbuf.c (922a01a013d2270682a188258cbccacfecf8129c)
1/*
2 * QEMU System Emulator
3 *
4 * Copyright (c) 2003-2008 Fabrice Bellard
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

--- 13 unchanged lines hidden (view full) ---

22 * THE SOFTWARE.
23 */
24
25#include "qemu/osdep.h"
26#include "chardev/char.h"
27#include "qmp-commands.h"
28#include "qapi/error.h"
29#include "qemu/base64.h"
1/*
2 * QEMU System Emulator
3 *
4 * Copyright (c) 2003-2008 Fabrice Bellard
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

--- 13 unchanged lines hidden (view full) ---

22 * THE SOFTWARE.
23 */
24
25#include "qemu/osdep.h"
26#include "chardev/char.h"
27#include "qmp-commands.h"
28#include "qapi/error.h"
29#include "qemu/base64.h"
30#include "qemu/option.h"
30
31/* Ring buffer chardev */
32
33typedef struct {
34 Chardev parent;
35 size_t size;
36 size_t prod;
37 size_t cons;

--- 214 unchanged lines hidden ---
31
32/* Ring buffer chardev */
33
34typedef struct {
35 Chardev parent;
36 size_t size;
37 size_t prod;
38 size_t cons;

--- 214 unchanged lines hidden ---