[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH 20/23] fix parameter to firmware calls
From: |
Andrey Borzenkov |
Subject: |
Re: [RFC PATCH 20/23] fix parameter to firmware calls |
Date: |
Tue, 1 Apr 2014 21:45:35 +0400 |
В Wed, 26 Feb 2014 10:31:19 -0800
Ram Pai <address@hidden> пишет:
> -#define IEEE1275_ADDR(x) (grub_uint32_t)(grub_addr_t)(x)
> -
> +#define IEEE1275_ADDR(x)
> (grub_uint32_t)grub_cpu_to_be32((grub_addr_t)(x))
> +#define IEEE1275_VALUE(x) (grub_uint32_t)grub_cpu_to_be32(x)
Same question - what about sparc64, is it safe to truncate values there?
- Re: [RFC PATCH 20/23] fix parameter to firmware calls,
Andrey Borzenkov <=