Page 1 of 1

restriction for partitions ?

Posted: Mon Oct 02, 2017 1:42 pm
by jumjum123
Are there any restrictions for partitions ?
Something like
- size less than xxxxk
- startpoint on 4k boundary
- conflict with partition overlapping 1M

Re: restriction for partitions ?

Posted: Mon Oct 02, 2017 4:37 pm
by kolban
My loose thinking is that the concept of the partition is merely a simple "database" that provides named entries to locations of storage and their size. The partition story then allows an application to dynamically query that database at runtime and look for "named" mappings to memory. The returned information will then be used by the caller. The validity of memory start locations and their sizes will be governed by the logic that is asking for the "named" partition and may very well vary of a case by case base. For example, partition type "X" may require some alignment but partition type "Y" needn't. I cant think of any valid reason (or possibility?) to have partition definitions overlap with each other.

Re: restriction for partitions ?

Posted: Mon Oct 02, 2017 8:03 pm
by WiFive