mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
hw/display: Use the IEC binary prefix definitions
It eases code review, unit is explicit. Patch generated using: $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/ and modified manually. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-Id: <20180625124238.25339-15-f4bug@amsat.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
e8400cf385
commit
f0353b0d10
10 changed files with 41 additions and 37 deletions
|
@ -29,14 +29,15 @@
|
|||
#include "hw/display/dpcd.h"
|
||||
#include "hw/i2c/i2c-ddc.h"
|
||||
#include "qemu/fifo8.h"
|
||||
#include "qemu/units.h"
|
||||
#include "hw/dma/xlnx_dpdma.h"
|
||||
#include "audio/audio.h"
|
||||
|
||||
#ifndef XLNX_DP_H
|
||||
#define XLNX_DP_H
|
||||
|
||||
#define AUD_CHBUF_MAX_DEPTH 32768
|
||||
#define MAX_QEMU_BUFFER_SIZE 4096
|
||||
#define AUD_CHBUF_MAX_DEPTH (32 * KiB)
|
||||
#define MAX_QEMU_BUFFER_SIZE (4 * KiB)
|
||||
|
||||
#define DP_CORE_REG_ARRAY_SIZE (0x3AF >> 2)
|
||||
#define DP_AVBUF_REG_ARRAY_SIZE (0x238 >> 2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue