mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
* IEC units series (Philippe)
* Hyper-V PV TLB flush (Vitaly) * git archive detection (Daniel) * host serial passthrough fix (David) * NPT support for SVM emulation (Jan) * x86 "info mem" and "info tlb" fix (Doug) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAABAgAGBQJbOkI9AAoJEL/70l94x66DaA0IAIzJD+3hUdwDCqitlW65x/yX D+KAoX4Ytpz7+QOtcXC7BBUW3JwvHTS5sfuvaAqKWnqEXSDrQs4/gG2iEB1UJ3Ko hC2LHGKygdcD9k3vuQ2q2USOu08jEUYRvvjgHmD6lsyaAQ+cb2heAYz/SxQqbkkt qun6TFaWuTGBQF1qy0xjJitdPokGwFZgprlZyVmMId/yLlsbsFlwmGIJh/l1+zqw I4DBzRzuhAg/nLH9qVZ3LWOjH1H0MLPGBUG59w4GbIDpwRh1VZu+GTyAmAYaquHl dSHYweXywNTvhi0WLroP8SD0Nqf/ZObuSRtop60gqJuP3YAbPrBMeRTlsqoZIRE= =Xzc8 -----END PGP SIGNATURE----- Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging * IEC units series (Philippe) * Hyper-V PV TLB flush (Vitaly) * git archive detection (Daniel) * host serial passthrough fix (David) * NPT support for SVM emulation (Jan) * x86 "info mem" and "info tlb" fix (Doug) # gpg: Signature made Mon 02 Jul 2018 16:18:21 BST # gpg: using RSA key BFFBD25F78C7AE83 # gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>" # gpg: aka "Paolo Bonzini <pbonzini@redhat.com>" # Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4 E2F7 7E15 100C CD36 69B1 # Subkey fingerprint: F133 3857 4B66 2389 866C 7682 BFFB D25F 78C7 AE83 * remotes/bonzini/tags/for-upstream: (50 commits) tcg: simplify !CONFIG_TCG handling of tb_invalidate_* i386/monitor.c: make addresses canonical for "info mem" and "info tlb" target-i386: Add NPT support serial: Open non-block bsd-user: Use the IEC binary prefix definitions linux-user: Use the IEC binary prefix definitions tests/crypto: Use the IEC binary prefix definitions vl: Use the IEC binary prefix definitions monitor: Use the IEC binary prefix definitions cutils: Do not include "qemu/units.h" directly hw/rdma: Use the IEC binary prefix definitions hw/virtio: Use the IEC binary prefix definitions hw/vfio: Use the IEC binary prefix definitions hw/sd: Use the IEC binary prefix definitions hw/usb: Use the IEC binary prefix definitions hw/net: Use the IEC binary prefix definitions hw/i386: Use the IEC binary prefix definitions hw/ppc: Use the IEC binary prefix definitions hw/mips: Use the IEC binary prefix definitions hw/mips/r4k: Constify params_size ... Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
commit
e8c858944e
129 changed files with 840 additions and 440 deletions
|
@ -16,6 +16,7 @@
|
|||
#ifndef HW_ACPI_TPM_H
|
||||
#define HW_ACPI_TPM_H
|
||||
|
||||
#include "qemu/units.h"
|
||||
#include "hw/registerfields.h"
|
||||
|
||||
#define TPM_TIS_ADDR_BASE 0xFED40000
|
||||
|
@ -176,7 +177,7 @@ REG32(CRB_DATA_BUFFER, 0x80)
|
|||
#define TPM_CRB_ADDR_CTRL (TPM_CRB_ADDR_BASE + A_CRB_CTRL_REQ)
|
||||
#define TPM_CRB_R_MAX R_CRB_DATA_BUFFER
|
||||
|
||||
#define TPM_LOG_AREA_MINIMUM_SIZE (64 * 1024)
|
||||
#define TPM_LOG_AREA_MINIMUM_SIZE (64 * KiB)
|
||||
|
||||
#define TPM_TCPA_ACPI_CLASS_CLIENT 0
|
||||
#define TPM_TCPA_ACPI_CLASS_SERVER 1
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#ifndef MIPS_GIC_H
|
||||
#define MIPS_GIC_H
|
||||
|
||||
#include "qemu/units.h"
|
||||
#include "hw/timer/mips_gictimer.h"
|
||||
#include "cpu.h"
|
||||
/*
|
||||
|
@ -19,7 +20,7 @@
|
|||
|
||||
/* The MIPS default location */
|
||||
#define GIC_BASE_ADDR 0x1bdc0000ULL
|
||||
#define GIC_ADDRSPACE_SZ (128 * 1024)
|
||||
#define GIC_ADDRSPACE_SZ (128 * KiB)
|
||||
|
||||
/* Constants */
|
||||
#define GIC_POL_POS 1
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#include "qemu/units.h"
|
||||
#include "cpu.h"
|
||||
|
||||
#define BIOS_SIZE (4 * 1024 * 1024)
|
||||
#define BIOS_SIZE (4 * MiB)
|
||||
#ifdef TARGET_WORDS_BIGENDIAN
|
||||
#define BIOS_FILENAME "mips_bios.bin"
|
||||
#else
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
#ifndef ALLWINNER_EMAC_H
|
||||
#define ALLWINNER_EMAC_H
|
||||
|
||||
#include "qemu/units.h"
|
||||
#include "net/net.h"
|
||||
#include "qemu/fifo8.h"
|
||||
#include "hw/net/mii.h"
|
||||
|
@ -125,8 +126,8 @@
|
|||
#define EMAC_INT_RX (1 << 8)
|
||||
|
||||
/* Due to lack of specifications, size of fifos is chosen arbitrarily */
|
||||
#define TX_FIFO_SIZE (4 * 1024)
|
||||
#define RX_FIFO_SIZE (32 * 1024)
|
||||
#define TX_FIFO_SIZE (4 * KiB)
|
||||
#define RX_FIFO_SIZE (32 * KiB)
|
||||
|
||||
#define NUM_TX_FIFOS 2
|
||||
#define RX_HDR_SIZE 8
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#ifndef HW_SPAPR_H
|
||||
#define HW_SPAPR_H
|
||||
|
||||
#include "qemu/units.h"
|
||||
#include "sysemu/dma.h"
|
||||
#include "hw/boards.h"
|
||||
#include "hw/ppc/xics.h"
|
||||
|
@ -749,8 +750,8 @@ int spapr_rng_populate_dt(void *fdt);
|
|||
*/
|
||||
#define SPAPR_MAX_RAM_SLOTS 32
|
||||
|
||||
/* 1GB alignment for device memory region */
|
||||
#define SPAPR_DEVICE_MEM_ALIGN (1ULL << 30)
|
||||
/* 1GB alignment for hotplug memory region */
|
||||
#define SPAPR_DEVICE_MEM_ALIGN (1 * GiB)
|
||||
|
||||
/*
|
||||
* Number of 32 bit words in each LMB list entry in ibm,dynamic-memory
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#ifndef QEMU_VIRTIO_NET_H
|
||||
#define QEMU_VIRTIO_NET_H
|
||||
|
||||
#include "qemu/units.h"
|
||||
#include "standard-headers/linux/virtio_net.h"
|
||||
#include "hw/virtio/virtio.h"
|
||||
|
||||
|
@ -44,7 +45,7 @@ typedef struct virtio_net_conf
|
|||
} virtio_net_conf;
|
||||
|
||||
/* Maximum packet size we can receive from tap device: header + 64k */
|
||||
#define VIRTIO_NET_MAX_BUFSIZE (sizeof(struct virtio_net_hdr) + (64 << 10))
|
||||
#define VIRTIO_NET_MAX_BUFSIZE (sizeof(struct virtio_net_hdr) + (64 * KiB))
|
||||
|
||||
typedef struct VirtIONetQueue {
|
||||
VirtQueue *rx_vq;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue