Revision d197063f exec.c

b/exec.c
50 50

  
51 51
#include "exec/memory-internal.h"
52 52

  
53
//#define DEBUG_UNASSIGNED
54 53
//#define DEBUG_SUBPAGE
55 54

  
56 55
#if !defined(CONFIG_USER_ONLY)
......
1402 1401
    return ram_addr;
1403 1402
}
1404 1403

  
1405
static bool unassigned_mem_accepts(void *opaque, hwaddr addr,
1406
                                   unsigned size, bool is_write)
1407
{
1408
    return false;
1409
}
1410

  
1411
const MemoryRegionOps unassigned_mem_ops = {
1412
    .valid.accepts = unassigned_mem_accepts,
1413
    .endianness = DEVICE_NATIVE_ENDIAN,
1414
};
1415

  
1416 1404
static void notdirty_mem_write(void *opaque, hwaddr ram_addr,
1417 1405
                               uint64_t val, unsigned size)
1418 1406
{

Also available in: Unified diff