Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 May 2019 15:19:49 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r348053 - stable/12/sys/x86/include
Message-ID:  <201905211519.x4LFJn33048307@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Tue May 21 15:19:49 2019
New Revision: 348053
URL: https://svnweb.freebsd.org/changeset/base/348053

Log:
  MFC r347216:
  amd64: fix BUS_SPACE_MAXSIZE to 64bit max value.

Modified:
  stable/12/sys/x86/include/bus.h
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/x86/include/bus.h
==============================================================================
--- stable/12/sys/x86/include/bus.h	Tue May 21 15:12:13 2019	(r348052)
+++ stable/12/sys/x86/include/bus.h	Tue May 21 15:19:49 2019	(r348053)
@@ -114,7 +114,11 @@
 
 #define BUS_SPACE_MAXSIZE_24BIT	0xFFFFFF
 #define BUS_SPACE_MAXSIZE_32BIT 0xFFFFFFFF
+#if defined(__amd64__)
+#define BUS_SPACE_MAXSIZE	0xFFFFFFFFFFFFFFFFULL
+#else
 #define BUS_SPACE_MAXSIZE	0xFFFFFFFF
+#endif
 #define BUS_SPACE_MAXADDR_24BIT	0xFFFFFF
 #define BUS_SPACE_MAXADDR_32BIT 0xFFFFFFFF
 #if defined(__amd64__) || defined(PAE)



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