Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106156647
D20154.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
525 B
Referenced Files
None
Subscribers
None
D20154.diff
View Options
Index: head/sys/x86/include/bus.h
===================================================================
--- head/sys/x86/include/bus.h
+++ head/sys/x86/include/bus.h
@@ -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)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 27, 8:00 AM (10 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15612413
Default Alt Text
D20154.diff (525 B)
Attached To
Mode
D20154: amd64: fix BUS_SPACE_MAXSIZE to 64bit max value.
Attached
Detach File
Event Timeline
Log In to Comment