summaryrefslogtreecommitdiff
path: root/xen/include/asm-x86/livepatch.h
blob: 00aefd2d6389b2333139da3c1ef0d0187067405f (plain)
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
/*
 * Copyright (c) 2016 Oracle and/or its affiliates. All rights reserved.
 *
 */

#ifndef __XEN_X86_LIVEPATCH_H__
#define __XEN_X86_LIVEPATCH_H__

#include <xen/sizes.h> /* For SZ_* macros. */

#define ARCH_PATCH_INSN_SIZE 5
#define ARCH_LIVEPATCH_RANGE SZ_2G
#define LIVEPATCH_FEATURE    X86_FEATURE_ALWAYS

#endif /* __XEN_X86_LIVEPATCH_H__ */

/*
 * Local variables:
 * mode: C
 * c-file-style: "BSD"
 * c-basic-offset: 4
 * tab-width: 4
 * indent-tabs-mode: nil
 * End:
 */