mirror of https://github.com/xemu-project/xemu.git
accel: Rename accel_init_ops_interfaces() to include 'system'
accel_init_ops_interfaces() is system specific, so rename it as accel_system_init_ops_interfaces() to ease navigating the code. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-ID: <20240111120221.35072-2-philmd@linaro.org>
This commit is contained in:
parent
0f9237f4e2
commit
463b00682d
|
@ -62,7 +62,7 @@ void accel_setup_post(MachineState *ms)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* initialize the arch-independent accel operation interfaces */
|
/* initialize the arch-independent accel operation interfaces */
|
||||||
void accel_init_ops_interfaces(AccelClass *ac)
|
void accel_system_init_ops_interfaces(AccelClass *ac)
|
||||||
{
|
{
|
||||||
const char *ac_name;
|
const char *ac_name;
|
||||||
char *ops_name;
|
char *ops_name;
|
||||||
|
|
|
@ -10,6 +10,6 @@
|
||||||
#ifndef ACCEL_SYSTEM_H
|
#ifndef ACCEL_SYSTEM_H
|
||||||
#define ACCEL_SYSTEM_H
|
#define ACCEL_SYSTEM_H
|
||||||
|
|
||||||
void accel_init_ops_interfaces(AccelClass *ac);
|
void accel_system_init_ops_interfaces(AccelClass *ac);
|
||||||
|
|
||||||
#endif /* ACCEL_SYSTEM_H */
|
#endif /* ACCEL_SYSTEM_H */
|
||||||
|
|
|
@ -104,7 +104,7 @@ static void accel_init_cpu_interfaces(AccelClass *ac)
|
||||||
void accel_init_interfaces(AccelClass *ac)
|
void accel_init_interfaces(AccelClass *ac)
|
||||||
{
|
{
|
||||||
#ifndef CONFIG_USER_ONLY
|
#ifndef CONFIG_USER_ONLY
|
||||||
accel_init_ops_interfaces(ac);
|
accel_system_init_ops_interfaces(ac);
|
||||||
#endif /* !CONFIG_USER_ONLY */
|
#endif /* !CONFIG_USER_ONLY */
|
||||||
|
|
||||||
accel_init_cpu_interfaces(ac);
|
accel_init_cpu_interfaces(ac);
|
||||||
|
|
Loading…
Reference in New Issue