- Timestamp:
- Aug 9, 2017, 10:24:06 AM (7 years ago)
- Location:
- trunk/hal
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/generic/hal_drivers.h
r261 r346 29 29 void hal_drivers_pic_init(chdev_t *pic, uint32_t impl); 30 30 31 void hal_drivers_iob_init(chdev_t *iob, uint32_t impl); 32 31 33 void hal_drivers_ioc_init(chdev_t *ioc, uint32_t impl); 32 34 -
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 -
trunk/hal/x86_64/core/hal_drivers.c
r280 r346 60 60 /* -------------------------------------------------------------------------- */ 61 61 62 void hal_drivers_iob_init(chdev_t *iob, uint32_t impl) 63 { 64 x86_panic("IOB driver not implemented"); 65 } 66 67 /* -------------------------------------------------------------------------- */ 68 62 69 void hal_drivers_ioc_init(chdev_t *ioc, uint32_t impl) 63 70 {
Note: See TracChangeset
for help on using the changeset viewer.