C++程序  |  23行  |  622 B

/* Generated by ./xlat/gen.sh from ./xlat/kvm_mem_flags.in; do not edit. */
#if !(defined(KVM_MEM_LOG_DIRTY_PAGES) || (defined(HAVE_DECL_KVM_MEM_LOG_DIRTY_PAGES) && HAVE_DECL_KVM_MEM_LOG_DIRTY_PAGES))
# define KVM_MEM_LOG_DIRTY_PAGES (1 << 0)
#endif
#if !(defined(KVM_MEM_READONLY) || (defined(HAVE_DECL_KVM_MEM_READONLY) && HAVE_DECL_KVM_MEM_READONLY))
# define KVM_MEM_READONLY (1 << 1)
#endif

#ifdef IN_MPERS

# error static const struct xlat kvm_mem_flags in mpers mode

#else

static
const struct xlat kvm_mem_flags[] = {
 XLAT(KVM_MEM_LOG_DIRTY_PAGES),
 XLAT(KVM_MEM_READONLY),
 XLAT_END
};

#endif /* !IN_MPERS */