cpu_init.c (c9d5aedf40cfa0d68a6a4c020d14f8e6116a369e) | cpu_init.c (2736432ffc30b74fc72858854e62b62253b685ff) |
---|---|
1/* 2 * PowerPC CPU initialization for qemu. 3 * 4 * Copyright (c) 2003-2007 Jocelyn Mayer 5 * Copyright 2011 Freescale Semiconductor, Inc. 6 * 7 * This library is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU Lesser General Public --- 5763 unchanged lines hidden (view full) --- 5772 SPR_NOACCESS, SPR_NOACCESS, 5773 &spr_read_generic, &spr_core_lpar_write_generic, 5774 0x00000000); 5775 spr_register_hv(env, SPR_POWER_TTR, "TTR", 5776 SPR_NOACCESS, SPR_NOACCESS, 5777 SPR_NOACCESS, SPR_NOACCESS, 5778 &spr_read_generic, &spr_core_write_generic, 5779 0x00000000); | 1/* 2 * PowerPC CPU initialization for qemu. 3 * 4 * Copyright (c) 2003-2007 Jocelyn Mayer 5 * Copyright 2011 Freescale Semiconductor, Inc. 6 * 7 * This library is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU Lesser General Public --- 5763 unchanged lines hidden (view full) --- 5772 SPR_NOACCESS, SPR_NOACCESS, 5773 &spr_read_generic, &spr_core_lpar_write_generic, 5774 0x00000000); 5775 spr_register_hv(env, SPR_POWER_TTR, "TTR", 5776 SPR_NOACCESS, SPR_NOACCESS, 5777 SPR_NOACCESS, SPR_NOACCESS, 5778 &spr_read_generic, &spr_core_write_generic, 5779 0x00000000); |
5780 spr_register_hv(env, SPR_POWER_SPRC, "SPRC", 5781 SPR_NOACCESS, SPR_NOACCESS, 5782 SPR_NOACCESS, SPR_NOACCESS, 5783 &spr_read_generic, &spr_write_sprc, 5784 0x00000000); 5785 spr_register_hv(env, SPR_POWER_SPRD, "SPRD", 5786 SPR_NOACCESS, SPR_NOACCESS, 5787 SPR_NOACCESS, SPR_NOACCESS, 5788 &spr_read_sprd, &spr_write_sprd, 5789 0x00000000); |
|
5780#endif 5781} 5782 5783static void register_power9_book4_sprs(CPUPPCState *env) 5784{ 5785 /* Add a number of P9 book4 registers */ 5786 register_power_common_book4_sprs(env); 5787#if !defined(CONFIG_USER_ONLY) --- 1998 unchanged lines hidden --- | 5790#endif 5791} 5792 5793static void register_power9_book4_sprs(CPUPPCState *env) 5794{ 5795 /* Add a number of P9 book4 registers */ 5796 register_power_common_book4_sprs(env); 5797#if !defined(CONFIG_USER_ONLY) --- 1998 unchanged lines hidden --- |