number of bits should be called log 2 rather than base 2
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1442 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -66,8 +66,8 @@ struct resource {
|
|||||||
unsigned long limit; /* Largest valid value base + size -1 */
|
unsigned long limit; /* Largest valid value base + size -1 */
|
||||||
unsigned long flags; /* Descriptions of the kind of resource */
|
unsigned long flags; /* Descriptions of the kind of resource */
|
||||||
unsigned long index; /* Bus specific per device resource id */
|
unsigned long index; /* Bus specific per device resource id */
|
||||||
unsigned char align; /* Required alignment (base 2) of the resource */
|
unsigned char align; /* Required alignment (log 2) of the resource */
|
||||||
unsigned char gran; /* Granularity (base 2) of the resource */
|
unsigned char gran; /* Granularity (log 2) of the resource */
|
||||||
/* Alignment must be >= the granularity of the resource */
|
/* Alignment must be >= the granularity of the resource */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user