summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1998-07-31 09:14:49 +0000
committerdfr <dfr@FreeBSD.org>1998-07-31 09:14:49 +0000
commit2446fc294318508b902838e185c75e1c1f0d1e9d (patch)
tree4c42ca1f94ab75f713a52f01dc87ba1a96266a9f
parent8a797b3a0018066abb207753333cb013ea74db6c (diff)
downloadFreeBSD-src-2446fc294318508b902838e185c75e1c1f0d1e9d.zip
FreeBSD-src-2446fc294318508b902838e185c75e1c1f0d1e9d.tar.gz
Add definitions of EV56 INT1/INT2/INT4/INT8 memory spaces.
-rw-r--r--sys/alpha/include/bwx.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/alpha/include/bwx.h b/sys/alpha/include/bwx.h
index 266534d..5489e3a 100644
--- a/sys/alpha/include/bwx.h
+++ b/sys/alpha/include/bwx.h
@@ -23,12 +23,20 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: bwx.h,v 1.1 1998/07/05 12:14:15 dfr Exp $
*/
#ifndef _MACHINE_BWX_H_
#define _MACHINE_BWX_H_
+/*
+ * Byte/word accesses must be made with particular values for addr<37,38>
+ */
+#define BWX_EV56_INT8 (0L << 37)
+#define BWX_EV56_INT4 (1L << 37)
+#define BWX_EV56_INT2 (2L << 37)
+#define BWX_EV56_INT1 (3L << 37)
+
static __inline u_int8_t
ldbu(vm_offset_t va)
{
OpenPOWER on IntegriCloud