qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2] macio: remove nonexistent interrupt on pin 1


From: Mark Cave-Ayland
Subject: Re: [Qemu-devel] [PATCH v2] macio: remove nonexistent interrupt on pin 1
Date: Wed, 17 Jun 2015 23:11:01 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0

On 17/06/15 23:04, Cormac O'Brien wrote:

> The current macio implementation declares an interrupt that doesn't appear to
> exist in the hardware or any other emulator implementation. OpenBIOS detects
> this interrupt and generates an 'interrupts' property in the macio device tree
> entry. Mac OS 9 halts boot when it detects this interrupt, so it has been
> removed to permit further progress in the boot process.
> 
> Signed-off-by: Cormac O'Brien <address@hidden>
> 
> ---
>  hw/misc/macio/macio.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/hw/misc/macio/macio.c b/hw/misc/macio/macio.c
> index 063ad80..306c95e 100644
> --- a/hw/misc/macio/macio.c
> +++ b/hw/misc/macio/macio.c
> @@ -132,8 +132,6 @@ static int macio_common_initfn(PCIDevice *d)
>      SysBusDevice *sysbus_dev;
>      int ret;
>  
> -    d->config[0x3d] = 0x01; // interrupt on pin 1
> -
>      ret = qdev_init(DEVICE(&s->cuda));
>      if (ret < 0) {
>          return ret;
> 

Reviewed-by: Mark Cave-Ayland <address@hidden>


ATB,

Mark.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]