PERFORCE change 28148 for review

Peter Wemm peter at FreeBSD.org
Fri Apr 4 19:32:28 PST 2003


http://perforce.freebsd.org/chv.cgi?CH=28148

Change 28148 by peter at peter_overcee on 2003/04/04 19:31:34

	use 64 bit typenames, use 64 bit size (jake)

Affected files ...

.. //depot/projects/hammer/sys/x86_64/include/bus_at386.h#5 edit

Differences ...

==== //depot/projects/hammer/sys/x86_64/include/bus_at386.h#5 (text+ko) ====

@@ -93,7 +93,7 @@
  * Bus address and size types
  */
 typedef uint64_t bus_addr_t;
-typedef uint32_t bus_size_t;
+typedef uint64_t bus_size_t;
 
 #define BUS_SPACE_MAXSIZE_24BIT	0xFFFFFF
 #define BUS_SPACE_MAXSIZE_32BIT 0xFFFFFFFF
@@ -107,8 +107,8 @@
 /*
  * Access methods for bus resources and address space.
  */
-typedef	u_long bus_space_tag_t;
-typedef	u_long bus_space_handle_t;
+typedef	uint64_t bus_space_tag_t;
+typedef	uint64_t bus_space_handle_t;
 
 /*
  * Map a region of device bus space into CPU virtual address space.


More information about the p4-projects mailing list