2 * Copyright (C) 2014, Linaro Ltd.
3 * Author: Tomasz Nowicki <tomasz.nowicki@linaro.org>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
10 #ifndef ARM_GIC_ACPI_H_
11 #define ARM_GIC_ACPI_H_
16 * Hard code here, we can not get memory size from MADT (but FDT does),
17 * Actually no need to do that, because this size can be inferred
20 #define ACPI_GICV2_DIST_MEM_SIZE (SZ_4K)
21 #define ACPI_GIC_CPU_IF_MEM_SIZE (SZ_8K)
23 struct acpi_table_header;
25 int gic_v2_acpi_init(struct acpi_table_header *table);
26 void acpi_gic_init(void);
28 static inline void acpi_gic_init(void) { }
31 #endif /* ARM_GIC_ACPI_H_ */