PERFORCE change 28141 for review
Peter Wemm
peter at FreeBSD.org
Fri Apr 4 19:22:12 PST 2003
http://perforce.freebsd.org/chv.cgi?CH=28141
Change 28141 by peter at peter_overcee on 2003/04/04 19:21:59
use the PAE + alpha/ia64 configuration for busspace (64 bit, ha!)
Affected files ...
.. //depot/projects/hammer/sys/x86_64/include/bus_at386.h#4 edit
Differences ...
==== //depot/projects/hammer/sys/x86_64/include/bus_at386.h#4 (text+ko) ====
@@ -92,11 +92,7 @@
/*
* Bus address and size types
*/
-#ifdef PAE
typedef uint64_t bus_addr_t;
-#else
-typedef uint32_t bus_addr_t;
-#endif
typedef uint32_t bus_size_t;
#define BUS_SPACE_MAXSIZE_24BIT 0xFFFFFF
@@ -104,19 +100,15 @@
#define BUS_SPACE_MAXSIZE 0xFFFFFFFF
#define BUS_SPACE_MAXADDR_24BIT 0xFFFFFF
#define BUS_SPACE_MAXADDR_32BIT 0xFFFFFFFF
-#ifdef PAE
#define BUS_SPACE_MAXADDR 0xFFFFFFFFFFFFFFFFULL
-#else
-#define BUS_SPACE_MAXADDR 0xFFFFFFFF
-#endif
#define BUS_SPACE_UNRESTRICTED (~0)
/*
* Access methods for bus resources and address space.
*/
-typedef int bus_space_tag_t;
-typedef u_int bus_space_handle_t;
+typedef u_long bus_space_tag_t;
+typedef u_long bus_space_handle_t;
/*
* Map a region of device bus space into CPU virtual address space.
More information about the p4-projects
mailing list