OSDN Git Service

target/openrisc: Make coreid and numcores variable
authorStafford Horne <shorne@gmail.com>
Sat, 17 Jun 2017 16:50:06 +0000 (01:50 +0900)
committerStafford Horne <shorne@gmail.com>
Fri, 20 Oct 2017 21:35:47 +0000 (06:35 +0900)
commit8c949951ed257567303c3d3b83bcd876b53d79e5
tree39a29ce409d4c834b13d0f65afaee8694e283c49
parent0ca9fa2e3c2d072ef7546190976e326ff2673a33
target/openrisc: Make coreid and numcores variable

Previously coreid and numcores were hard coded as 0 and 1 respectively
as OpenRISC QEMU did not have multicore support.

Multicore support is now being added so these registers need to have
configured values.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Stafford Horne <shorne@gmail.com>
target/openrisc/sys_helper.c