Revision dc828ca1 exec.c

b/exec.c
2427 2427
{
2428 2428
}
2429 2429

  
2430
/* Return a host pointer to ram allocated with qemu_ram_alloc.
2431
   This may only be used if you actually allocated the ram, and
2432
   aready know how but the ram block is.  */
2433
void *qemu_get_ram_ptr(ram_addr_t addr)
2434
{
2435
    return phys_ram_base + addr;
2436
}
2437

  
2430 2438
static uint32_t unassigned_mem_readb(void *opaque, target_phys_addr_t addr)
2431 2439
{
2432 2440
#ifdef DEBUG_UNASSIGNED

Also available in: Unified diff