From 90374ad414c6bc309f16663d18e3ead2527ee5d8 Mon Sep 17 00:00:00 2001 From: Sergiu Moga Date: Thu, 25 May 2023 11:36:02 +0300 Subject: [PATCH] plat/xen/x86: Add `bpt_unmap_mrd` empty memory region descriptor In order not to generate undefined references when building and not to unmap anything, add an empty `bpt_unmap_mrd` memory region descriptor. Signed-off-by: Sergiu Moga Reviewed-by: Michalis Pappas Approved-by: Razvan Deaconescu Tested-by: Unikraft CI GitHub-Closes: #848 --- plat/xen/x86/entry64.S | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/plat/xen/x86/entry64.S b/plat/xen/x86/entry64.S index 2c7df086b..b10978528 100644 --- a/plat/xen/x86/entry64.S +++ b/plat/xen/x86/entry64.S @@ -420,3 +420,12 @@ TRAP_ENTRY alignment_check, 1 /* no Machine Check */ TRAP_ENTRY simd_error, 0 /* no Virtualization Exception */ + +/* + * We do not want to unmap anything. + */ +.section .bss +.align 4 +.globl bpt_unmap_mrd +bpt_unmap_mrd: +.space 64 -- 2.39.5