Revision 5fafdf24 target-m68k/cpu.h
b/target-m68k/cpu.h | ||
---|---|---|
1 | 1 |
/* |
2 | 2 |
* m68k virtual CPU header |
3 |
*
|
|
3 |
* |
|
4 | 4 |
* Copyright (c) 2005-2007 CodeSourcery |
5 | 5 |
* Written by Paul Brook |
6 | 6 |
* |
... | ... | |
86 | 86 |
/* Temporary storage for DIV helpers. */ |
87 | 87 |
uint32_t div1; |
88 | 88 |
uint32_t div2; |
89 |
|
|
89 |
|
|
90 | 90 |
/* MMU status. */ |
91 | 91 |
struct { |
92 | 92 |
uint32_t ar; |
... | ... | |
125 | 125 |
/* you can call this signal handler from your SIGBUS and SIGSEGV |
126 | 126 |
signal handlers to inform the virtual CPU of exceptions. non zero |
127 | 127 |
is returned if the signal was handled by the virtual CPU. */ |
128 |
int cpu_m68k_signal_handler(int host_signum, void *pinfo,
|
|
128 |
int cpu_m68k_signal_handler(int host_signum, void *pinfo, |
|
129 | 129 |
void *puc); |
130 | 130 |
void cpu_m68k_flush_flags(CPUM68KState *, int); |
131 | 131 |
|
... | ... | |
213 | 213 |
/* Linux uses 8k pages. */ |
214 | 214 |
#define TARGET_PAGE_BITS 13 |
215 | 215 |
#else |
216 |
/* Smallest TLB entry size is 1k. */
|
|
216 |
/* Smallest TLB entry size is 1k. */ |
|
217 | 217 |
#define TARGET_PAGE_BITS 10 |
218 | 218 |
#endif |
219 | 219 |
|
Also available in: Unified diff