grub-devel
[Top][All Lists]
Advanced

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

Re: [patch] 64 bit disk address support (= 8192EiB disks)


From: Yoshinori K. Okuji
Subject: Re: [patch] 64 bit disk address support (= 8192EiB disks)
Date: Fri, 28 Oct 2005 05:01:50 +0200
User-agent: KMail/1.7.2

On Saturday 22 October 2005 01:53 pm, Timothy Baldwin wrote:
> That is exactly my point. POSIX uses off_t as a byte counts into files, the
> type we are discussing the name of is used for sector counts.

OK. That makes sense.

However, I do not like grub_sector_t. For me, this is still an address or an 
offset. So it should be called something like grub_disk_addr_t or 
grub_sector_offset_t.

> > > Also grub_off_t is used in kern/mm.c to count bytes of memory.
> >
> > What is bad?
>
> It should use grub_size_t for memory, in order follow POSIX.

It's true. So we must fix it.

Okuji




reply via email to

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