PERFORCE change 31580 for review
Peter Wemm
peter at FreeBSD.org
Wed May 21 13:43:02 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=31580
Change 31580 by peter at peter_hammer on 2003/05/21 13:42:45
Whoops. 64 bit memory addresses do not fit too well in an int.
Affected files ...
.. //depot/projects/hammer/sys/amd64/include/bus_amd64.h#3 edit
Differences ...
==== //depot/projects/hammer/sys/amd64/include/bus_amd64.h#3 (text+ko) ====
@@ -401,7 +401,7 @@
else
#endif
{
- int _port_ = bsh + offset;
+ bus_space_handle_t _port_ = bsh + offset;
#ifdef __GNUC__
__asm __volatile(" \n\
cld \n\
@@ -443,7 +443,7 @@
else
#endif
{
- int _port_ = bsh + offset;
+ bus_space_handle_t _port_ = bsh + offset;
#ifdef __GNUC__
__asm __volatile(" \n\
cld \n\
@@ -485,7 +485,7 @@
else
#endif
{
- int _port_ = bsh + offset;
+ bus_space_handle_t _port_ = bsh + offset;
#ifdef __GNUC__
__asm __volatile(" \n\
cld \n\
@@ -741,7 +741,7 @@
else
#endif
{
- int _port_ = bsh + offset;
+ bus_space_handle_t _port_ = bsh + offset;
#ifdef __GNUC__
__asm __volatile(" \n\
cld \n\
@@ -783,7 +783,7 @@
else
#endif
{
- int _port_ = bsh + offset;
+ bus_space_handle_t _port_ = bsh + offset;
#ifdef __GNUC__
__asm __volatile(" \n\
cld \n\
@@ -825,7 +825,7 @@
else
#endif
{
- int _port_ = bsh + offset;
+ bus_space_handle_t _port_ = bsh + offset;
#ifdef __GNUC__
__asm __volatile(" \n\
cld \n\
More information about the p4-projects
mailing list