[OpenBIOS] [PATCH] ppc: Convert IO macros to inline functions
Andreas Färber
andreas.faerber at web.de
Thu Nov 11 00:01:24 CET 2010
Am 30.10.2010 um 21:51 schrieb Andreas Färber:
> diff --git a/include/arch/ppc/io.h b/include/arch/ppc/io.h
> index e5180f2..84198f2 100644
> --- a/include/arch/ppc/io.h
> +++ b/include/arch/ppc/io.h
> +static inline void insw(phys_addr_t port, void *buf, int ns)
> +{
> + _insw((uint16_t *)(port + isa_io_base), buf, ns);
> +}
I'm wondering whether the use of phys_addr_t is right here or whether
it should be uintptr_t? Would like to get this out of my queue.
Andreas
More information about the OpenBIOS
mailing list