Changeset 346 for trunk/hal/tsar_mips32/core
- Timestamp:
- Aug 9, 2017, 10:24:06 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/core/hal_drivers.c
r279 r346 27 27 #include <soclib_tty.h> 28 28 #include <soclib_pic.h> 29 #include <soclib_iob.h> 29 30 #include <soclib_bdv.h> 30 31 #include <soclib_hba.h> … … 81 82 pic->ext.pic.send_ipi = &soclib_pic_send_ipi; 82 83 pic->ext.pic.extend_init = &soclib_pic_extend_init; 84 } 85 86 /////////////////////////////////////////////////////////////////////////////// 87 // IOB 88 /////////////////////////////////////////////////////////////////////////////// 89 90 ////////////////////////////////////////// 91 void hal_drivers_iob_init( chdev_t * iob, 92 uint32_t impl ) 93 { 94 if (impl != IMPL_IOB_TSR) 95 { 96 assert( false , __FUNCTION__ , "undefined IOB device implementation" ); 97 } 98 99 soclib_iob_init( iob ); 100 101 /* update the IOB chdev extension */ 102 iob->ext.iob.set_active = &soclib_iob_set_active; 103 iob->ext.iob.set_ptpr = &soclib_iob_set_ptpr; 104 iob->ext.iob.inval_page = &soclib_iob_inval_page; 105 iob->ext.iob.get_bvar = &soclib_iob_get_bvar; 106 iob->ext.iob.get_srcid = &soclib_iob_get_srcid; 107 iob->ext.iob.get_error = &soclib_iob_get_error; 83 108 } 84 109
Note: See TracChangeset
for help on using the changeset viewer.