Skip to content

Release 2.0.0

Choose a tag to compare

@Bassem-Ramzy Bassem-Ramzy released this 08 Jan 19:16
· 15 commits to main since this release
5fc609f

DEV-187

"Partially" added Multiple-BARs support as following:

Work done

  • Added API CRONO_KERNEL_GetBarDescriptions.
  • All BARs are got in CRONO_KERNEL_PciDeviceOpen, with mmap called for their memories, and unmmap called for them with CRONO_KERNEL_PciDeviceClose .
  • CRONO_KERNEL_WriteAddrN and CRONO_KERNEL_ReadAddrN variations 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.
  • freeDeviceMem needs to unmmap BARs mapped memories.
  • CRONO_KERNEL_WriteAddrN and CRONO_KERNEL_ReadAddrN variations need to handle all BARs.