summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/Makefile
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-11-15 18:52:55 -0500
committerIan Moffett <ian@osmora.org>2025-11-15 18:52:55 -0500
commit53e2489b201d84ed5d9fc8bcdd65551bb6b43b9a (patch)
tree53c5a7520fd1052954252aa6ad6810108ced410c /sys/arch/amd64/Makefile
parente1773e18239e642ae97e5dd48bbad6d3c5ffccba (diff)
kern/amd64: cpu: Add kernel fence for trap entry
A kernel fence ensures that the GS base will contain kernel data on entry. Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/arch/amd64/Makefile')
-rw-r--r--sys/arch/amd64/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arch/amd64/Makefile b/sys/arch/amd64/Makefile
index 1c5f8f2..265948a 100644
--- a/sys/arch/amd64/Makefile
+++ b/sys/arch/amd64/Makefile
@@ -14,7 +14,7 @@ all: $(ASMOBJS)
%.S.o: %.S
$(PROMPT) " [AS] " $<
- $(CC) -c $(SYS_CFLAGS) $< -o $@
+ $(CC) -c -I../../target/inc/ $(SYS_CFLAGS) $< -o $@
.PHONY: clean
clean: