1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +00:00

kboot: Move syscall stubs to libkboot

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2024-01-28 12:34:13 -07:00
parent 4aabaa1890
commit 099335814d
6 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
SRCS+= host_syscall.S tramp.S exec.c load_addr.c fdt_arch.c
SRCS+= tramp.S exec.c load_addr.c fdt_arch.c
.PATH: ${BOOTSRC}/arm64/libarm64
CFLAGS+=-I${BOOTSRC}/arm64/libarm64

View File

@ -1,4 +1,4 @@
SRCS+= host_syscall.S amd64_tramp.S elf64_freebsd.c load_addr.c fdt_arch.c
SRCS+= amd64_tramp.S elf64_freebsd.c load_addr.c fdt_arch.c
CFLAGS+= -I${SYSDIR}/contrib/dev/acpica/include

View File

@ -3,9 +3,11 @@
LIB= kboot
WARNS?= 4
.PATH: ${.CURDIR}/arch/${MACHINE_ARCH}
CFLAGS+=-I${.CURDIR} -I${.CURDIR}/arch/${MACHINE_ARCH}
SRCS= crt1.c
SRCS= crt1.c \
host_syscall.S
.sinclude "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc"