Home
last modified time | relevance | path

Searched refs:repl_len (Results 1 – 3 of 3) sorted by relevance

/xen/xen/include/asm-x86/
A Dalternative-asm.h14 .macro altinstruction_entry orig repl feature orig_len repl_len pad_len
19 .byte \repl_len
55 decl_orig(\oldinstr, repl_len(1) - orig_len)
59 orig_len, repl_len(1), pad_len
68 .byte 0xff + repl_len(1) - total_len
78 decl_orig(\oldinstr, as_max(repl_len(1), repl_len(2)) - orig_len)
83 orig_len, repl_len(1), pad_len
85 orig_len, repl_len(2), pad_len
94 .byte 0xff + repl_len(1) - total_len
95 .byte 0xff + repl_len(2) - total_len
[all …]
A Dalternative.h16 uint8_t repl_len; /* length of new instruction */ member
/xen/xen/arch/x86/
A Dalternative.c210 BUG_ON(a->repl_len > total_len); in _apply_alternatives()
253 memcpy(buf, repl, a->repl_len); in _apply_alternatives()
256 if ( a->repl_len >= 5 && (*buf & 0xfe) == 0xe8 ) in _apply_alternatives()
308 add_nops(buf + a->repl_len, total_len - a->repl_len); in _apply_alternatives()

Completed in 4 milliseconds