amd64: fix BUS_SPACE_MAXSIZE to 64bit max value.

Reviewed by:	jhb, tychon (previous version)
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
Differential revision:	https://reviews.freebsd.org/D20154
This commit is contained in:
Konstantin Belousov 2019-05-07 01:18:57 +00:00
parent 27d172bb12
commit 078116a662
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=347216

View File

@ -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)