MCPcopy Create free account
hub / github.com/ading2210/linuxpdf / phys_mem_map_init

Function phys_mem_map_init

tinyemu/iomem.c:41–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 PhysMemoryRange *pr, uint64_t addr, BOOL enabled);
40
41PhysMemoryMap *phys_mem_map_init(void)
42{
43 PhysMemoryMap *s;
44 s = mallocz(sizeof(*s));
45 s->register_ram = default_register_ram;
46 s->free_ram = default_free_ram;
47 s->get_dirty_bits = default_get_dirty_bits;
48 s->set_ram_addr = default_set_addr;
49 return s;
50}
51
52void phys_mem_map_end(PhysMemoryMap *s)
53{

Callers 2

x86_machine.cFile · 0.85
riscv_machine_initFunction · 0.85

Calls 1

malloczFunction · 0.85

Tested by

no test coverage detected