svn commit: r358669 - head/sys/arm64/include
Andrew Turner
andrew at FreeBSD.org
Thu Mar 5 10:52:18 UTC 2020
Author: andrew
Date: Thu Mar 5 10:52:16 2020
New Revision: 358669
URL: https://svnweb.freebsd.org/changeset/base/358669
Log:
Mark the arm64 machdep.h as kernel only
None of this is useful for userspace.
Sponsored by: Innovate UK
Modified:
head/sys/arm64/include/machdep.h
Modified: head/sys/arm64/include/machdep.h
==============================================================================
--- head/sys/arm64/include/machdep.h Thu Mar 5 09:20:32 2020 (r358668)
+++ head/sys/arm64/include/machdep.h Thu Mar 5 10:52:16 2020 (r358669)
@@ -29,6 +29,8 @@
#ifndef _MACHINE_MACHDEP_H_
#define _MACHINE_MACHDEP_H_
+#ifdef _KERNEL
+
struct arm64_bootparams {
vm_offset_t modulep;
vm_offset_t kern_l1pt; /* L1 page table for the kernel */
@@ -55,5 +57,7 @@ vm_offset_t parse_boot_param(struct arm64_bootparams *
void parse_fdt_bootargs(void);
#endif
extern void (*pagezero)(void *);
+
+#endif /* _KERNEL */
#endif /* _MACHINE_MACHDEP_H_ */
More information about the svn-src-head
mailing list