xref: /kvm-unit-tests/lib/arm/asm/gic-v3-its.h (revision ba74b1063d21003ff7de7a84af121af2d3663c1f)
1 /*
2  * ITS 32-bit stubs
3  *
4  * Copyright (C) 2020, Red Hat Inc, Eric Auger <eric.auger@redhat.com>
5  *
6  * This work is licensed under the terms of the GNU LGPL, version 2.
7  */
8 #ifndef _ASMARM_GIC_V3_ITS_H_
9 #define _ASMARM_GIC_V3_ITS_H_
10 
11 #ifndef _ASMARM_GIC_H_
12 #error Do not directly include <asm/gic-v3-its.h>. Include <asm/gic.h>
13 #endif
14 
15 #include <libcflat.h>
16 
17 /* dummy its_data struct to allow gic_get_dt_bases() call */
18 struct its_data {
19 	void *base;
20 };
21 
its_init(void)22 static inline void its_init(void)
23 {
24 	assert_msg(false, "not supported on 32-bit");
25 }
26 
27 #endif /* _ASMARM_GIC_V3_ITS_H_ */
28