\r
}\r
\r
+STATIC\r
EFI_STATUS\r
ProcessOptionRomLight (\r
IN PCI_IO_DEVICE *PciIoDevice\r
// TODO: BarIndex - add argument and description to function comment\r
{\r
UINT32 Value;\r
- UINT64 BarValue64;\r
UINT32 OriginalValue;\r
UINT32 Mask;\r
UINT32 Data;\r
\r
OriginalValue = 0;\r
Value = 0;\r
- BarValue64 = 0;\r
\r
Status = BarExisted (\r
PciIoDevice,\r
// Need to treat it as no-bar\r
//\r
if (PciIoDevice->PciBar[BarIndex].Length == 0) {\r
- PciIoDevice->PciBar[BarIndex].BarType = 0;\r
+ PciIoDevice->PciBar[BarIndex].BarType = (PCI_BAR_TYPE) 0;\r
}\r
\r
PciIoDevice->PciBar[BarIndex].Prefetchable = FALSE;\r