]> xenbits.xensource.com Git - unikraft/unikraft.git/commitdiff
plat/linuxu: Add empty `bpt_unmap_mrd` memory region descriptors
authorSergiu Moga <sergiu.moga@protonmail.com>
Thu, 25 May 2023 08:34:26 +0000 (11:34 +0300)
committerUnikraft <monkey@unikraft.io>
Fri, 11 Aug 2023 10:18:45 +0000 (10:18 +0000)
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 <sergiu.moga@protonmail.com>
Reviewed-by: Michalis Pappas <michalis@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #848

plat/linuxu/arm64/entry64.S
plat/linuxu/x86/entry64.S

index 70b926d4d425ab301a01e7d9fa629ec0d8181151..abafc42422fc673eff8cb34dbfab918fe77ea50a 100644 (file)
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
+/*
+ * We do not want to unmap anything.
+ */
+.section .bss
+.align 4
+.globl bpt_unmap_mrd
+bpt_unmap_mrd:
+.space 64
+
 .section .text
 
 /* For now, although inaccurate, set the
index 4658f07da9bb91eac34569d2aace3ea21b71636f..ba0cc45c8c769d5b380a62426808da08817627f4 100644 (file)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  */
+/*
+ * We do not want to unmap anything.
+ */
+.section .bss
+.align 4
+.globl bpt_unmap_mrd
+bpt_unmap_mrd:
+.space 64
 
 .section .text