Changeset 437 for soft/giet_vm/giet_drivers/iob_driver.c
- Timestamp:
- Nov 3, 2014, 10:53:00 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_drivers/iob_driver.c
r340 r437 4 4 // Author : alain greiner 5 5 // Copyright (c) UPMC-LIP6 6 ///////////////////////////////////////////////////////////////////////////////////7 // The iob_driver.c and iob_driver.h files are part ot the GIET-VM kernel.8 // This driver supports the TSAR vci_io_bridge, that is a bridge to access9 // The external peripherals, implementing an IO_MMU.10 // This component can be instanciated in more than one cluster.11 ///////////////////////////////////////////////////////////////////////////////////12 // The SEG_IOB_BASE virtual addresses must be defined in hard_config.h file.13 // The physical base address is supposed to be (cluster_xy << 32) | SEG_IOB_BASE.14 6 /////////////////////////////////////////////////////////////////////////////////// 15 7 … … 61 53 62 54 63 /////////////////////////////////////////////////////////////////////////////// 64 // This function invalidates a TLB entry identified by a virtual address. 65 /////////////////////////////////////////////////////////////////////////////// 55 56 /////////////////////////////////////////////////// 66 57 void _iob_inval_tlb_entry( unsigned int cluster_xy, 67 58 unsigned int vaddr ) … … 72 63 } 73 64 74 /////////////////////////////////////////////////////////////////////////////// 75 // This function sets a new value in IOB_IOMMU_PTPR register. 76 /////////////////////////////////////////////////////////////////////////////// 65 ////////////////////////////////////////////////// 77 66 void _iob_set_iommu_ptpr( unsigned int cluster_xy, 78 67 unsigned int value )
Note: See TracChangeset
for help on using the changeset viewer.