Changes between Initial Version and Version 1 of iob_driver


Ignore:
Timestamp:
Oct 8, 2014, 6:23:53 PM (10 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • iob_driver

    v1 v1  
     1= GIET-VM / IOB Driver =
     2
     3[[PageOutline]]
     4
     5The [source:soft/giet_vm/giet_drivers/iob_driver.c iob_driver.c] and [source:soft/giet_vm/giet_drivers/iob_driver.h iob_driver.h] files define the IO driver.
     6
     7This ''vci_io_bridge'' component is a bridge allowing software to send configuration requests to external peripherals, and allowing external peripherals with a DMA capability to directly access the L3 cache (or external memory without passing through the L2 caches. This ''vci_io_bridge'' implement an IOMMU using a dedicated IOMMU page table.
     8
     9This component should be implemented in the cluster specified by the (X_IO / Y_IO) variables in the hard_config.h file, and
     10the physical base address is (cluster_io << 32) | SEG_IOB_BASE. The SEG_IOB_BASE virtual addresses must be defined in hard_config.h file.
     11
     12The addressables registers map, and the error codes are defined [source:soft/giet_vm/giet_drivers/iob_driver.h here].
     13
     14 === void '''_iob_inval_tlb_entry'''( unsigned int cluster_xy,  unsigned int vaddr ) ===
     15This function invalidates a TLB entry identified by a virtual address, in the IOMMU.
     16
     17 === void '''_iob_set_iommu_ptpr'''(  unsigned int cluster_xy,  unsigned int value ) ===
     18This function sets a new value in IOB_IOMMU_PTPR register.
     19 
     20
     21
     22
     23
     24