mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
target-ppc: fix LPCR SPR number
PowerISA defines LPCR SPR number as 318=0x13E but QEMU uses the value of 316. This fixes the definition of LPCR SPR. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
a5100e752b
commit
6475c9f05c
2 changed files with 2 additions and 2 deletions
|
@ -2578,8 +2578,8 @@ static void gen_spr_8xx (CPUPPCState *env)
|
|||
* HRMOR => SPR 313 (Power 2.04 hypv)
|
||||
* HSRR0 => SPR 314 (Power 2.04 hypv)
|
||||
* HSRR1 => SPR 315 (Power 2.04 hypv)
|
||||
* LPCR => SPR 316 (970)
|
||||
* LPIDR => SPR 317 (970)
|
||||
* LPCR => SPR 318 (970)
|
||||
* EPR => SPR 702 (Power 2.04 emb)
|
||||
* perf => 768-783 (Power 2.04)
|
||||
* perf => 784-799 (Power 2.04)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue