From b135754fd9f9bc28dcbc99e82f6eaa381d46204e Mon Sep 17 00:00:00 2001 From: sigsegv7 Date: Thu, 28 Sep 2023 18:30:59 -0400 Subject: kernel/amd64: Add __KERNEL_META for .S files Signed-off-by: sigsegv7 --- sys/arch/amd64/spectre.S | 5 +++++ sys/arch/amd64/trap.S | 4 ++++ 2 files changed, 9 insertions(+) (limited to 'sys/arch') 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 + +__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 #include +#include + +__KERNEL_META "$Vega$: trap.S, Ian Marco Moffett, \ + Trap handling routines" .text .globl breakpoint_handler -- cgit v1.2.3