mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-08-16 01:17:01 +02:00
Add functions to save and restore GICv3 redist and dist contexts during low power mode and then call these during the suspend entry and finish psci handlers. Change-Id: I26c2c0f3b7fc925de3b349499fa42d2405441577 Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
21 lines
446 B
C
21 lines
446 B
C
/*
|
|
* Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef K3_GICV3_H
|
|
#define K3_GICV3_H
|
|
|
|
#include <stdint.h>
|
|
|
|
void k3_gic_driver_init(uintptr_t gic_base);
|
|
void k3_gic_init(void);
|
|
void k3_gic_cpuif_enable(void);
|
|
void k3_gic_cpuif_disable(void);
|
|
void k3_gic_pcpu_init(void);
|
|
void k3_gic_save_context(void);
|
|
void k3_gic_restore_context(void);
|
|
|
|
#endif /* K3_GICV3_H */
|