Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Nov 2019 22:17:49 +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: r354325 - head/sys/arm64/include
Message-ID:  <201911032217.xA3MHnro019964@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Sun Nov  3 22:17:49 2019
New Revision: 354325
URL: https://svnweb.freebsd.org/changeset/base/354325

Log:
  Move the struct debug_monitor_state out of _KERNEL.
  
  Some userland libraries incude machine/pcb.h and this needs the full
  definition of struct debug_monitor_state. To allow this to work move
  stuct debug_monitor_state out of the _KERNEL guard.
  
  Sponsored by:	DARPA, AFRL

Modified:
  head/sys/arm64/include/debug_monitor.h

Modified: head/sys/arm64/include/debug_monitor.h
==============================================================================
--- head/sys/arm64/include/debug_monitor.h	Sun Nov  3 21:36:29 2019	(r354324)
+++ head/sys/arm64/include/debug_monitor.h	Sun Nov  3 22:17:49 2019	(r354325)
@@ -32,8 +32,6 @@
 #ifndef _MACHINE_DEBUG_MONITOR_H_
 #define	_MACHINE_DEBUG_MONITOR_H_
 
-#ifdef _KERNEL
-
 #define	DBG_BRP_MAX	16
 #define	DBG_WRP_MAX	16
 
@@ -47,6 +45,8 @@ struct debug_monitor_state {
 	uint64_t	dbg_wcr[DBG_WRP_MAX];
 	uint64_t	dbg_wvr[DBG_WRP_MAX];
 };
+
+#ifdef _KERNEL
 
 enum dbg_access_t {
 	HW_BREAKPOINT_X		= 0,



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