Changeset 437 for soft/giet_vm/giet_drivers/iob_driver.h
- 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.h
r340 r437 5 5 // Copyright (c) UPMC-LIP6 6 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 access 9 // The external peripherals, implementing an IO_MMU. 10 // The SEG_IOB_BASE virtual addresses must be defined in hard_config.h file. 11 // The physical base address is (cluster_io << 32) | SEG_IOB_BASE. 12 /////////////////////////////////////////////////////////////////////////////////// 7 13 8 14 #ifndef _GIET_IOB_DRIVER_H_ … … 10 16 11 17 /////////////////////////////////////////////////////////////////////////////////// 12 // vci_io_bridge :registers offsets and iommu error codes18 // registers offsets and iommu error codes 13 19 /////////////////////////////////////////////////////////////////////////////////// 14 20 … … 40 46 41 47 /////////////////////////////////////////////////////////////////////////////////// 42 // TSAR IOBaccess functions48 // access functions 43 49 /////////////////////////////////////////////////////////////////////////////////// 44 50 51 /////////////////////////////////////////////////////////////////////////////// 52 // This function invalidates a TLB entry identified by a virtual address. 53 /////////////////////////////////////////////////////////////////////////////// 45 54 extern void _iob_inval_tlb_entry( unsigned int cluster_xy, 46 55 unsigned int vaddr ); 47 56 57 /////////////////////////////////////////////////////////////////////////////// 58 // This function sets a new value in IOB_IOMMU_PTPR register. 59 /////////////////////////////////////////////////////////////////////////////// 48 60 extern void _iob_set_iommu_ptpr( unsigned int cluster_xy, 49 61 unsigned int value ); 50 62 51 /////////////////////////////////////////////////////////////////////////////////// 63 52 64 53 65 #endif
Note: See TracChangeset
for help on using the changeset viewer.