summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorsigsegv7 <ian@vegaa.systems>2023-09-28 18:30:59 -0400
committersigsegv7 <ian@vegaa.systems>2023-09-28 18:30:59 -0400
commitb135754fd9f9bc28dcbc99e82f6eaa381d46204e (patch)
treefc1ef25f93534fba583591ba976dcb37bcaaecd5 /sys/arch
parent9da4a11d0f36727a966cc9ec2025ccd641abfb11 (diff)
kernel/amd64: Add __KERNEL_META for .S files
Signed-off-by: sigsegv7 <ian@vegaa.systems>
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/spectre.S5
-rw-r--r--sys/arch/amd64/trap.S4
2 files changed, 9 insertions, 0 deletions
diff --git a/sys/arch/amd64/spectre.S b/sys/arch/amd64/spectre.S
index f91f744..f93c67e 100644
--- a/sys/arch/amd64/spectre.S
+++ b/sys/arch/amd64/spectre.S
@@ -27,6 +27,11 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+ #include <sys/cdefs.h>
+
+__KERNEL_META "$Vega$: spectre.S, Ian Marco Moffett, \
+ Spectre mitigation detection"
+
.text
.globl __can_mitigate_spectre
diff --git a/sys/arch/amd64/trap.S b/sys/arch/amd64/trap.S
index d10c0b3..8c428de 100644
--- a/sys/arch/amd64/trap.S
+++ b/sys/arch/amd64/trap.S
@@ -29,6 +29,10 @@
#include <machine/frame.h>
#include <machine/trap.h>
+#include <sys/cdefs.h>
+
+__KERNEL_META "$Vega$: trap.S, Ian Marco Moffett, \
+ Trap handling routines"
.text
.globl breakpoint_handler