提交 dfebf62b 编写于 作者: A aurel32

hw/openpic: define list in mpic_init() const

Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6660 c046a42c-6fe2-441c-8c8c-71466251a162
上级 b7169916
......@@ -1669,7 +1669,7 @@ qemu_irq *mpic_init (target_phys_addr_t base, int nb_cpus,
CPUWriteMemoryFunc **write;
target_phys_addr_t start_addr;
ram_addr_t size;
} list[] = {
} const list[] = {
{mpic_glb_read, mpic_glb_write, MPIC_GLB_REG_START, MPIC_GLB_REG_SIZE},
{mpic_tmr_read, mpic_tmr_write, MPIC_TMR_REG_START, MPIC_TMR_REG_SIZE},
{mpic_ext_read, mpic_ext_write, MPIC_EXT_REG_START, MPIC_EXT_REG_SIZE},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册