Remove the in-file definition of the `ENTRY` macro and use the already
existing macro from `uk/asm.h`.
Signed-off-by: Sergiu Moga <sergiu.moga@protonmail.com>
Reviewed-by: Dragos Petre <dragos.petre27@gmail.com>
Reviewed-by: Michalis Pappas <michalis@unikraft.io>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #772
#include <uk/config.h>
#include <xen/xen.h>
#include <xen/elfnote.h>
+#include <uk/asm.h>
#define ELFNOTE(name, type, desc) \
.pushsection .note.name ; \
4:.align 4 ; \
.popsection
-#define ENTRY(X) .globl X ; X :
-
#ifdef CONFIG_PARAVIRT
ELFNOTE(Xen, XEN_ELFNOTE_GUEST_OS, .asciz "Unikraft")
ELFNOTE(Xen, XEN_ELFNOTE_LOADER, .asciz "generic")