[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 20/24] Add alpha_cpu_list.
From: |
Blue Swirl |
Subject: |
Re: [Qemu-devel] [PATCH 20/24] Add alpha_cpu_list. |
Date: |
Fri, 13 Mar 2009 19:51:13 +0200 |
On 3/13/09, Tristan Gingold <address@hidden> wrote:
> Add alpha_cpu_list and use cpu_model to select the model in cpu_alpha_init.
> Set implver and amask from the model.
>
> Signed-off-by: Tristan Gingold <address@hidden>
> +static struct alpha_def alpha_defs[] = {
"const"
> +#if 0
> + { "21064", IMPLVER_2106x, 0 },
> + { "21164", IMPLVER_21164, 0 },
> +#endif
> + { "21264", IMPLVER_21264, (AMASK_PREFETCH | AMASK_TRAP | AMASK_BWX
> + | AMASK_FIX) },
> + { NULL, 0 }
> +};
I'd use ARRAY_SIZE macro to determine the size of table for indexing
instead of no NULL termination, but this style is also widely used.
- [Qemu-devel] [PATCH 15/24] Document which IPR are used by 21264., (continued)
- [Qemu-devel] [PATCH 15/24] Document which IPR are used by 21264., Tristan Gingold, 2009/03/13
- [Qemu-devel] [PATCH 16/24] tb_flush helper should flush the tb (and not the tlb)., Tristan Gingold, 2009/03/13
- [Qemu-devel] [PATCH 17/24] Add instruction name in comments for hw_ld opcode., Tristan Gingold, 2009/03/13
- [Qemu-devel] [PATCH 18/24] Remove PALCODE_ declarations (unused)., Tristan Gingold, 2009/03/13
- [Qemu-devel] [PATCH 19/24] alpha ld helpers now directly return the value., Tristan Gingold, 2009/03/13
- [Qemu-devel] [PATCH 20/24] Add alpha_cpu_list., Tristan Gingold, 2009/03/13
- [Qemu-devel] [PATCH 21/24] Alpha: lower parent irq when irq is lowered., Tristan Gingold, 2009/03/13
- [Qemu-devel] [PATCH 22/24] Move linux-user pal emulation to linux-user/, Tristan Gingold, 2009/03/13
- [Qemu-devel] [PATCH 23/24] Correctly decode hw_ld/hw_st opcodes for all alpha implementations., Tristan Gingold, 2009/03/13
- [Qemu-devel] [PATCH 24/24] Add full emulation for 21264., Tristan Gingold, 2009/03/13
- Re: [Qemu-devel] [PATCH 20/24] Add alpha_cpu_list.,
Blue Swirl <=
- Re: [Qemu-devel] [PATCH 20/24] Add alpha_cpu_list., Tristan Gingold, 2009/03/16
- Re: [Qemu-devel] [PATCH 13/24] Add target-alpha/machine.c with es40 machine emulation., Blue Swirl, 2009/03/13
- Re: [Qemu-devel] [PATCH 13/24] Add target-alpha/machine.c with es40 machine emulation., Tristan Gingold, 2009/03/16
- Re: [Qemu-devel] [PATCH 09/24] Split cpu_mmu_index into cpu_mmu_index_data and cpu_mmu_index_code., Blue Swirl, 2009/03/13
Re: [Qemu-devel] [PATCH 0/24]: add alpha es40 system emulation, Blue Swirl, 2009/03/13