Revision 6c36d3fa exec.c
b/exec.c | ||
---|---|---|
1957 | 1957 |
static uint32_t unassigned_mem_readb(void *opaque, target_phys_addr_t addr) |
1958 | 1958 |
{ |
1959 | 1959 |
#ifdef DEBUG_UNASSIGNED |
1960 |
printf("Unassigned mem read 0x%08x\n", (int)addr);
|
|
1960 |
printf("Unassigned mem read " TARGET_FMT_lx "\n", addr);
|
|
1961 | 1961 |
#endif |
1962 | 1962 |
#ifdef TARGET_SPARC |
1963 |
// Not enabled yet because of bugs in gdbstub etc. |
|
1964 |
//raise_exception(TT_DATA_ACCESS); |
|
1963 |
do_unassigned_access(addr, 0, 0, 0); |
|
1965 | 1964 |
#endif |
1966 | 1965 |
return 0; |
1967 | 1966 |
} |
... | ... | |
1969 | 1968 |
static void unassigned_mem_writeb(void *opaque, target_phys_addr_t addr, uint32_t val) |
1970 | 1969 |
{ |
1971 | 1970 |
#ifdef DEBUG_UNASSIGNED |
1972 |
printf("Unassigned mem write 0x%08x = 0x%x\n", (int)addr, val);
|
|
1971 |
printf("Unassigned mem write " TARGET_FMT_lx " = 0x%x\n", addr, val);
|
|
1973 | 1972 |
#endif |
1974 | 1973 |
#ifdef TARGET_SPARC |
1975 |
// Not enabled yet because of bugs in gdbstub etc. |
|
1976 |
//raise_exception(TT_DATA_ACCESS); |
|
1974 |
do_unassigned_access(addr, 1, 0, 0); |
|
1977 | 1975 |
#endif |
1978 | 1976 |
} |
1979 | 1977 |
|
Also available in: Unified diff