Sergej Schumilo 8a88edc2a1 auto-apply clang-format
- including vl.c & kvm-all.c
2022-10-16 23:51:13 +02:00

14 lines
250 B
C

#pragma once
#include <stdint.h>
#ifndef PAGE_SIZE
#define PAGE_SIZE qemu_real_host_page_size
#endif
#define BITMAP_SIZE(x) ((x / PAGE_SIZE) / 8)
#define DIRTY_STACK_SIZE(x) ((x / PAGE_SIZE) * sizeof(uint64_t))
uint64_t get_ram_size(void);