Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Mar 2020 10:52:17 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r358669 - head/sys/arm64/include
Message-ID:  <202003051052.025AqHt4018107@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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_ */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003051052.025AqHt4018107>