1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
This commit is contained in:
John Baldwin 2012-02-27 18:28:31 +00:00
parent b4fe201c19
commit d7ccbd7009
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=232237

View File

@ -50,7 +50,7 @@
#define RF_ALIGNMENT_SHIFT 10 /* alignment size bit starts bit 10 */
#define RF_ALIGNMENT_MASK (0x003F << RF_ALIGNMENT_SHIFT)
/* resource address alignemnt size bit mask */
/* resource address alignment size bit mask */
#define RF_ALIGNMENT_LOG2(x) ((x) << RF_ALIGNMENT_SHIFT)
#define RF_ALIGNMENT(x) (((x) & RF_ALIGNMENT_MASK) >> RF_ALIGNMENT_SHIFT)