[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[kvm-unit-tests PATCH v5 01/13] libcflat: Add other size defines
From: |
Eric Auger |
Subject: |
[kvm-unit-tests PATCH v5 01/13] libcflat: Add other size defines |
Date: |
Tue, 10 Mar 2020 15:53:58 +0100 |
Introduce additional SZ_256, SZ_8K, SZ_16K macros that will
be used by ITS tests.
Signed-off-by: Eric Auger <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
---
lib/libcflat.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/libcflat.h b/lib/libcflat.h
index ea19f61..7092af2 100644
--- a/lib/libcflat.h
+++ b/lib/libcflat.h
@@ -36,7 +36,10 @@
#define ALIGN(x, a) __ALIGN((x), (a))
#define IS_ALIGNED(x, a) (((x) & ((typeof(x))(a) - 1)) == 0)
+#define SZ_256 (1 << 8)
#define SZ_4K (1 << 12)
+#define SZ_8K (1 << 13)
+#define SZ_16K (1 << 14)
#define SZ_64K (1 << 16)
#define SZ_2M (1 << 21)
#define SZ_1G (1 << 30)
--
2.20.1
- [kvm-unit-tests PATCH v5 03/13] arm/arm64: gic: Introduce setup_irq() helper, (continued)
- [kvm-unit-tests PATCH v5 03/13] arm/arm64: gic: Introduce setup_irq() helper, Eric Auger, 2020/03/10
- [kvm-unit-tests PATCH v5 04/13] arm/arm64: gicv3: Add some re-distributor defines, Eric Auger, 2020/03/10
- [kvm-unit-tests PATCH v5 05/13] arm/arm64: gicv3: Set the LPI config and pending tables, Eric Auger, 2020/03/10
- [kvm-unit-tests PATCH v5 06/13] arm/arm64: ITS: Introspection tests, Eric Auger, 2020/03/10
- [kvm-unit-tests PATCH v5 07/13] arm/arm64: ITS: its_enable_defaults, Eric Auger, 2020/03/10
- [kvm-unit-tests PATCH v5 01/13] libcflat: Add other size defines,
Eric Auger <=
- [kvm-unit-tests PATCH v5 08/13] arm/arm64: ITS: Device and collection Initialization, Eric Auger, 2020/03/10
- [kvm-unit-tests PATCH v5 09/13] arm/arm64: ITS: Commands, Eric Auger, 2020/03/10
- [kvm-unit-tests PATCH v5 10/13] arm/arm64: ITS: INT functional tests, Eric Auger, 2020/03/10
- Re: [kvm-unit-tests PATCH v5 10/13] arm/arm64: ITS: INT functional tests, Zenghui Yu, 2020/03/11
- Re: [kvm-unit-tests PATCH v5 10/13] arm/arm64: ITS: INT functional tests, Auger Eric, 2020/03/11
- Re: [kvm-unit-tests PATCH v5 10/13] arm/arm64: ITS: INT functional tests, Marc Zyngier, 2020/03/11
- Re: [kvm-unit-tests PATCH v5 10/13] arm/arm64: ITS: INT functional tests, Zenghui Yu, 2020/03/12
- Re: [kvm-unit-tests PATCH v5 10/13] arm/arm64: ITS: INT functional tests, Auger Eric, 2020/03/12
- Re: [kvm-unit-tests PATCH v5 10/13] arm/arm64: ITS: INT functional tests, Zenghui Yu, 2020/03/12