Home
last modified time | relevance | path

Searched refs:tmpl_size (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/firmware/efi/libstub/
H A Dx86-5lvl.c29 u8 tmpl_size = (u8 *)&trampoline_ljmp_imm_offset - (u8 *)&trampoline_32bit_src; in efi_setup_5level_paging() local
47 la57_toggle = memcpy(la57_code, trampoline_32bit_src, tmpl_size); in efi_setup_5level_paging()
48 memset(la57_code + tmpl_size, 0x90, PAGE_SIZE - tmpl_size); in efi_setup_5level_paging()
/openbmc/linux/arch/x86/kernel/
H A Dcallthunks.c298 unsigned int tmpl_size = SKL_TMPL_SIZE; in is_callthunk() local
306 return !bcmp((void *)(dest - tmpl_size), tmpl, tmpl_size); in is_callthunk()
311 unsigned int tmpl_size = SKL_TMPL_SIZE; in x86_call_depth_emit_accounting() local
321 memcpy(*pprog, tmpl, tmpl_size); in x86_call_depth_emit_accounting()
322 *pprog += tmpl_size; in x86_call_depth_emit_accounting()
323 return tmpl_size; in x86_call_depth_emit_accounting()