stand: aarch64 has different nlinks than amd64
authorWarner Losh <imp@FreeBSD.org>
Sun, 4 Dec 2022 05:46:21 +0000 (22:46 -0700)
committerWarner Losh <imp@FreeBSD.org>
Sun, 4 Dec 2022 05:53:18 +0000 (22:53 -0700)
commit929c6216b1668b9a8bc7d9d9edfd528ef74c69f8
treeda396511d19a8fd0e1f0a8b5a74a67f5d3d66ee1
parente15d8f238461de9bca1fa37cc4ef06d84a4edd4f
stand: aarch64 has different nlinks than amd64

Some typedefs are system dependent, so move them into stat_arch.h where
they are used.  On amd64, nlinks is a int64_t, while on aarch64 it's an
int (or int32_t).

Sponsored by: Netflix
stand/kboot/arch/aarch64/stat_arch.h
stand/kboot/arch/amd64/stat_arch.h
stand/kboot/arch/powerpc64/stat_arch.h
stand/kboot/host_syscall.h