qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 3/9] arm: add dummy v7 cp15 config_base_regis


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH v2 3/9] arm: add dummy v7 cp15 config_base_register
Date: Sat, 24 Dec 2011 00:30:19 +0000

On 22 December 2011 18:20, Mark Langsdorf <address@hidden> wrote:
> +        if (ARM_CPUID(env) == ARM_CPUID_CORTEXA9) {
> +            switch (crm) {
> +            case 0:
> +                /* The config_base_address should hold the value of
> +                 * the peripheral base. ARM should get this from a CPU
> +                 * object property, but that support isn't available in
> +                 * December 2011. Default to 0 for now and board models
> +                 * that care can set it by a private hook */
> +                if (op1 == 4) {
> +                    return env->cp15.c15_config_base_address;
> +                }

Still underdecoded -- op2 must be 0 as well.
Otherwise OK.

-- PMM

reply via email to

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