Page MenuHomeFreeBSD

D59147.diff
No OneTemporary

D59147.diff

diff --git a/sys/arm64/include/_armreg.h b/sys/arm64/include/_armreg.h
--- a/sys/arm64/include/_armreg.h
+++ b/sys/arm64/include/_armreg.h
@@ -29,7 +29,8 @@
#if !defined(_MACHINE_ARMREG_H_) && \
!defined(_MACHINE_CPU_H_) && \
- !defined(_MACHINE_HYPERVISOR_H_)
+ !defined(_MACHINE_HYPERVISOR_H_) && \
+ !defined(_MACHINE_SYSINSN_H_)
#error Do not include this file directly
#endif
diff --git a/sys/arm64/include/sysinsn.h b/sys/arm64/include/sysinsn.h
new file mode 100644
--- /dev/null
+++ b/sys/arm64/include/sysinsn.h
@@ -0,0 +1,40 @@
+/*
+ * Copyright (c) 2026 Arm Ltd
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
+
+#ifndef _MACHINE_SYSINSN_H_
+#define _MACHINE_SYSINSN_H_
+
+#include <machine/_armreg.h>
+
+#define TLBI_RVAAE1IS_op0 1
+#define TLBI_RVAAE1IS_op1 0
+#define TLBI_RVAAE1IS_CRn 8
+#define TLBI_RVAAE1IS_CRm 2
+#define TLBI_RVAAE1IS_op2 3
+#define tlbi_rvaae1is(x) SYS_ARG(TLBI_RVAAE1IS, x)
+
+#define TLBI_RVAALE1IS_op0 1
+#define TLBI_RVAALE1IS_op1 0
+#define TLBI_RVAALE1IS_CRn 8
+#define TLBI_RVAALE1IS_CRm 2
+#define TLBI_RVAALE1IS_op2 7
+#define tlbi_rvaale1is(x) SYS_ARG(TLBI_RVAALE1IS, x)
+
+#define TLBI_RVAE1IS_op0 1
+#define TLBI_RVAE1IS_op1 0
+#define TLBI_RVAE1IS_CRn 8
+#define TLBI_RVAE1IS_CRm 2
+#define TLBI_RVAE1IS_op2 1
+#define tlbi_rvae1is(x) SYS_ARG(TLBI_RVAE1IS, x)
+
+#define TLBI_RVALE1IS_op0 1
+#define TLBI_RVALE1IS_op1 0
+#define TLBI_RVALE1IS_CRn 8
+#define TLBI_RVALE1IS_CRm 2
+#define TLBI_RVALE1IS_op2 5
+#define tlbi_rvale1is(x) SYS_ARG(TLBI_RVALE1IS, x)
+
+#endif

File Metadata

Mime Type
text/plain
Expires
Wed, Sep 2, 9:52 AM (8 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37757478
Default Alt Text
D59147.diff (1 KB)

Event Timeline