fix compilation issues in aarch64 ports
[lunaix-os.git] / lunaix-os / arch / aarch64 / includes / asm / aa64_asm.h
index 51dcf5e4f7712de423573e4a74d95d62806de3b5..f617cfc23ab764d912eed198d7e40a6b6eda9f87 100644 (file)
@@ -1,8 +1,14 @@
 #ifndef __LUNAIX_AA64_ASM_H
 #define __LUNAIX_AA64_ASM_H
 
+#define __const_expr_sign #
+#define __comma() ,
+#define __const_expr()    __const_expr_sign
+
 #define __sr_encode(op0, op1, crn, crm, op2)    \
             s##op0##_##op1##_c##crn##_c##crm##_##op2
+#define __sysop_encode(op1, crn, crm, op2)      \
+            "#" #op1 ",C" #crn ",C" #crm ",#" #op2
 
 #ifndef __ASM__