Repository navigation
Release 2.0.0
DEV-187
"Partially" added Multiple-BARs support as following:
Work done
- Added API
CRONO_KERNEL_GetBarDescriptions. - All BARs are got in
CRONO_KERNEL_PciDeviceOpen, withmmapcalled for their memories, andunmmapcalled for them withCRONO_KERNEL_PciDeviceClose. CRONO_KERNEL_WriteAddrNandCRONO_KERNEL_ReadAddrNvariations handle only the first BAR.- Work is tested on devices having only one BAR.
Pending
- Full test on a device has multiple BARs.
- Usage of
CRONO_KERNEL_BAR_FLAG_32_BIT, currently it's unused. freeDeviceMemneeds tounmmapBARs mapped memories.CRONO_KERNEL_WriteAddrNandCRONO_KERNEL_ReadAddrNvariations need to handle all BARs.