Revision 5fafdf24 target-alpha/helper.c
b/target-alpha/helper.c | ||
---|---|---|
1 | 1 |
/* |
2 | 2 |
* Alpha emulation cpu helpers for qemu. |
3 |
*
|
|
3 |
* |
|
4 | 4 |
* Copyright (c) 2007 Jocelyn Mayer |
5 | 5 |
* |
6 | 6 |
* This library is free software; you can redistribute it and/or |
... | ... | |
25 | 25 |
#include "cpu.h" |
26 | 26 |
#include "exec-all.h" |
27 | 27 |
|
28 |
#if defined(CONFIG_USER_ONLY)
|
|
28 |
#if defined(CONFIG_USER_ONLY) |
|
29 | 29 |
|
30 | 30 |
int cpu_alpha_handle_mmu_fault (CPUState *env, target_ulong address, int rw, |
31 | 31 |
int is_user, int is_softmmu) |
... | ... | |
35 | 35 |
else |
36 | 36 |
env->exception_index = EXCP_DFAULT; |
37 | 37 |
env->ipr[IPR_EXC_ADDR] = address; |
38 |
|
|
38 |
|
|
39 | 39 |
return 1; |
40 | 40 |
} |
41 | 41 |
|
... | ... | |
407 | 407 |
} |
408 | 408 |
#endif |
409 | 409 |
|
410 |
void cpu_dump_state (CPUState *env, FILE *f,
|
|
410 |
void cpu_dump_state (CPUState *env, FILE *f, |
|
411 | 411 |
int (*cpu_fprintf)(FILE *f, const char *fmt, ...), |
412 | 412 |
int flags) |
413 | 413 |
{ |
Also available in: Unified diff