grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Detect endian in cpio fs


From: Vladimir 'phcoder' Serbinenko
Subject: Re: [PATCH] Detect endian in cpio fs
Date: Fri, 28 Aug 2009 14:03:04 +0200

On Thu, Aug 27, 2009 at 10:27 AM, Bean<address@hidden> wrote:
> Hi,
>
> This patch allows to access big/little endian cpio archive from
> big/little endian machine.
Quick glance showed that you use swap_bytes. Could you use
grub_*_to_cpu* instead? This would simplify the future maintainability
if someone decides to port to a very special platform (e.g.
mixed-endian) since code would be uniform
>
> --
> Bean
>
> gitgrub home: http://github.com/grub/grub/
> my fork page: http://github.com/bean123/grub/
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
>



-- 
Regards
Vladimir 'phcoder' Serbinenko

Personal git repository: http://repo.or.cz/w/grub2/phcoder.git




reply via email to

[Prev in Thread] Current Thread [Next in Thread]