git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@232 6f19259b-4bc3-4df7-8a09-765794883524

This commit is contained in:
yshang1 2006-05-22 09:36:28 +00:00
parent 3df952e152
commit e0c3e486e0
1 changed files with 3 additions and 1 deletions

View File

@ -53,7 +53,9 @@
**/
#define PCI_TO_CF8_ADDRESS(A) \
((UINT32)(((A) >> 4) | ((A) & 0xfc) | 0x80000000))
((UINT32) ((((A) >> 4) & 0xffffff00) | ((A) & 0xfc) | 0x80000000))
/**
Reads an 8-bit PCI configuration register.