diff options
| author | Ian Moffett <ian@osmora.org> | 2025-11-15 18:52:55 -0500 |
|---|---|---|
| committer | Ian Moffett <ian@osmora.org> | 2025-11-15 18:52:55 -0500 |
| commit | 53e2489b201d84ed5d9fc8bcdd65551bb6b43b9a (patch) | |
| tree | 53c5a7520fd1052954252aa6ad6810108ced410c /sys/Makefile | |
| parent | e1773e18239e642ae97e5dd48bbad6d3c5ffccba (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/Makefile')
| -rw-r--r-- | sys/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/Makefile b/sys/Makefile index 0ee8c93..5291a43 100644 --- a/sys/Makefile +++ b/sys/Makefile @@ -7,7 +7,8 @@ SYS_CFLAGS = ARCH = .PHONY: all -all: kern arch +all: target kern arch + rm -rf target/ .PHONY: arch arch: @@ -22,3 +23,8 @@ kern: .PHONY: clean clean: cd arch/$(ARCH); make clean + +.PHONY: target +target: + mkdir -p target/inc/md/ + rsync -avr inc/arch/$(ARCH)/* target/inc/md/ |
