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:
parent
5b033b1f5d
commit
e3c79ed89b
|
@ -66,8 +66,8 @@ struct resource {
|
|||
unsigned long limit; /* Largest valid value base + size -1 */
|
||||
unsigned long flags; /* Descriptions of the kind of resource */
|
||||
unsigned long index; /* Bus specific per device resource id */
|
||||
unsigned char align; /* Required alignment (base 2) of the resource */
|
||||
unsigned char gran; /* Granularity (base 2) of the resource */
|
||||
unsigned char align; /* Required alignment (log 2) of the resource */
|
||||
unsigned char gran; /* Granularity (log 2) of the resource */
|
||||
/* Alignment must be >= the granularity of the resource */
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue