On Thu, Apr 22, 2010 at 11:33:40AM +1000, matthew green wrote:
In my tree, I've changed bus_space_tag_t from an integer type to a
pointer to a struct. Now, some debugging code in MI drivers will not
compile because it tries to printf bus_space_tag_t's using the format
%x.
Or add a MD function to convert a bus_space_tag_t to a value that can
be printed with (say) %p in MI code that includes most of the useful
info.
I've felt, in recent years, that printf is annoyingly weak in some
respects. For these purposes, it would be really nice to have a format
specifier
On Wed, Apr 21, 2010 at 04:30:23PM -0500, David Young wrote:
In my tree, I've changed bus_space_tag_t from an integer type to a
pointer to a struct. Now, some debugging code in MI drivers will not
compile because it tries to printf bus_space_tag_t's using the format
%x.
I don't see the use
In my tree, I've changed bus_space_tag_t from an integer type to a
pointer to a struct. Now, some debugging code in MI drivers will not
compile because it tries to printf bus_space_tag_t's using the format
%x.
I don't see the use of printing a bus_space_tag_t, so I am changing