Re: [PATCH 03/10] AXFS: axfs.h

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Geert Uytterhoeven <Geert.Uytterhoeven@...>
Cc: Arnd Bergmann <arnd@...>, <Linux-kernel@...>, <linux-embedded@...>, linux-mtd <linux-mtd@...>, Jörn Engel <joern@...>, <tim.bird@...>, <cotte@...>, <nickpiggin@...>
Date: Friday, August 22, 2008 - 2:12 pm

>> So do I understand right that 3 bytes is your minimum size, and going

Right.  But you need 3 bytes to store the maximum value 0x0a0000

If we had:
0x0000000000000003
0x00000000000000FF
0x000000000000000A

You would only need a 1 byte depth.


Correct the depth can be from 1 to 8 bytes.  The depth is determined
by the maximum value in the array.


That is correct.  Each table has a single depth stored in the region descriptor.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 03/10] AXFS: axfs.h, Jared Hulbert, (Thu Aug 21, 1:45 am)
Re: [PATCH 03/10] AXFS: axfs.h, Daniel Walker, (Thu Aug 21, 9:10 am)
Re: [PATCH 03/10] AXFS: axfs.h, Jared Hulbert, (Thu Aug 21, 4:07 pm)
Re: [PATCH 03/10] AXFS: axfs.h, Arnd Bergmann, (Thu Aug 21, 8:24 am)
Re: [PATCH 03/10] AXFS: axfs.h, Jared Hulbert, (Thu Aug 21, 6:40 pm)
Re: [PATCH 03/10] AXFS: axfs.h, Arnd Bergmann, (Fri Aug 22, 7:27 am)
Re: [PATCH 03/10] AXFS: axfs.h, Geert Uytterhoeven, (Fri Aug 22, 8:04 am)
Re: [PATCH 03/10] AXFS: axfs.h, Jared Hulbert, (Fri Aug 22, 2:12 pm)
Re: [PATCH 03/10] AXFS: axfs.h, Arnd Bergmann, (Thu Aug 21, 7:31 am)
Re: [PATCH 03/10] AXFS: axfs.h, Jared Hulbert, (Thu Aug 21, 4:05 pm)
Re: [PATCH 03/10] AXFS: axfs.h, Carsten Otte, (Thu Aug 21, 3:51 am)