1 /* 2 * Copyright (c) 2016 Oracle and/or its affiliates. All rights reserved. 3 * 4 */ 5 6 #ifndef __XEN_X86_LIVEPATCH_H__ 7 #define __XEN_X86_LIVEPATCH_H__ 8 9 #include <xen/sizes.h> /* For SZ_* macros. */ 10 11 #define ARCH_PATCH_INSN_SIZE 5 12 #define ARCH_LIVEPATCH_RANGE SZ_2G 13 #define LIVEPATCH_FEATURE X86_FEATURE_ALWAYS 14 15 #endif /* __XEN_X86_LIVEPATCH_H__ */ 16 17 /* 18 * Local variables: 19 * mode: C 20 * c-file-style: "BSD" 21 * c-basic-offset: 4 22 * tab-width: 4 23 * indent-tabs-mode: nil 24 * End: 25 */ 26