OSDN Git Service

target/openrisc: add numcores and coreid support
authorStafford Horne <shorne@gmail.com>
Fri, 14 Apr 2017 22:25:32 +0000 (07:25 +0900)
committerStafford Horne <shorne@gmail.com>
Thu, 4 May 2017 00:39:01 +0000 (09:39 +0900)
commitef3f5b9e7f83262e1eaea884b0a562b9fa73859c
tree2565480f3a429a363ab1cd5a8ba01993cb8d199c
parent461a4b944f7e036b2f6bd1fce83ad4fe09e5e2bc
target/openrisc: add numcores and coreid support

These are used to identify the processor in SMP system.  Their
definition has been defined in verilog cores but it not yet part of the
spec but it will be soon.

The proposal for this is available:
  https://openrisc.io/proposals/core-identifier-and-number-of-cores

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Stafford Horne <shorne@gmail.com>
target/openrisc/sys_helper.c