mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-09-05 21:21:54 +00:00
If an architecture other than x86 wants to make use of ioport devices, the interrupt lines will likely need remapping from their fixed values. This patch allows an architecture callback, ioport__map_irq, to map interrupts as appropriate. Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
23 lines
489 B
C
23 lines
489 B
C
/*
|
|
* PPC64 ioport platform setup. There isn't any! :-)
|
|
*
|
|
* Copyright 2011 Matt Evans <matt@ozlabs.org>, IBM Corporation.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License version 2 as published
|
|
* by the Free Software Foundation.
|
|
*/
|
|
|
|
#include "kvm/ioport.h"
|
|
|
|
#include <stdlib.h>
|
|
|
|
void ioport__setup_arch(struct kvm *kvm)
|
|
{
|
|
/* PPC has no legacy ioports to set up */
|
|
}
|
|
|
|
void ioport__map_irq(u8 *irq)
|
|
{
|
|
}
|