summaryrefslogtreecommitdiffstats
path: root/stubs/ram-block.c
blob: 73c0a3ee089fc9c902cde2027fd2e42213ab1012 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#include "qemu/osdep.h"
#include "exec/ramlist.h"
#include "exec/cpu-common.h"

void *qemu_ram_get_host_addr(RAMBlock *rb)
{
    return 0;
}

ram_addr_t qemu_ram_get_offset(RAMBlock *rb)
{
    return 0;
}

ram_addr_t qemu_ram_get_used_length(RAMBlock *rb)
{
    return 0;
}

void ram_block_notifier_add(RAMBlockNotifier *n)
{
}

void ram_block_notifier_remove(RAMBlockNotifier *n)
{
}

int qemu_ram_foreach_block(RAMBlockIterFunc func, void *opaque)
{
    return 0;
}