Changeset 437 for soft/giet_vm/giet_drivers/pic_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/pic_driver.c
r413 r437 5 5 // Copyright (c) UPMC-LIP6 6 6 /////////////////////////////////////////////////////////////////////////////////// 7 // Implementation note:8 // All physical accesses to device registers are done by the two9 // _pic_get_register(), _pic_set_register() low-level functions,10 // that are handling virtual / physical addressing.11 ///////////////////////////////////////////////////////////////////////////////////12 7 13 8 #include <pic_driver.h> 9 #include <giet_config.h> 10 #include <hard_config.h> 14 11 #include <utils.h> 15 12 … … 18 15 #endif 19 16 20 ///////////////////////////////////////////////////// ////////////////////////////17 ///////////////////////////////////////////////////// 21 18 unsigned int _pic_get_register( unsigned int channel, 22 19 unsigned int index ) … … 26 23 } 27 24 28 ///////////////////////////////////////////// ////////////////////////////////////25 ///////////////////////////////////////////// 29 26 void _pic_set_register( unsigned int channel, 30 27 unsigned int index, … … 36 33 37 34 38 ///////////////////////////////////// ////////////////////////////////////////////35 ///////////////////////////////////// 39 36 void _pic_init( unsigned int channel, // source PIC HWI channel 40 37 unsigned int vaddr, // dest XCU WTI address … … 46 43 } 47 44 48 //////////////////////////////////////////////////// /////////////////////////////45 //////////////////////////////////////////////////// 49 46 unsigned int _pic_get_status( unsigned int channel ) 50 47 {
Note: See TracChangeset
for help on using the changeset viewer.