mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
sparc merge (Blue Swirl)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1098 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
023fcb9507
commit
8d5f07fa3b
23 changed files with 492 additions and 592 deletions
|
@ -952,11 +952,7 @@ static int monitor_get_tbl (struct MonitorDef *md, int val)
|
|||
#if defined(TARGET_SPARC)
|
||||
static int monitor_get_psr (struct MonitorDef *md, int val)
|
||||
{
|
||||
return (0<<28) | (4<<24) | cpu_single_env->psr \
|
||||
| (cpu_single_env->psrs? PSR_S : 0) \
|
||||
| (cpu_single_env->psrs? PSR_PS : 0) \
|
||||
| (cpu_single_env->psret? PSR_ET : 0) \
|
||||
| cpu_single_env->cwp;
|
||||
return GET_PSR(cpu_single_env);
|
||||
}
|
||||
|
||||
static int monitor_get_reg(struct MonitorDef *md, int val)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue