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