Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 2003 19:22:08 -0800 (PST)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 28141 for review
Message-ID:  <200304050322.h353M8PK099017@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=28141

Change 28141 by peter@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.



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