- Timestamp:
- Jul 17, 2017, 1:22:11 PM (7 years ago)
- Location:
- trunk/hal
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/drivers/soclib_bdv.c
r75 r211 34 34 // get extended pointer on SOCLIB_BDV peripheral base address 35 35 xptr_t bdv_xp = chdev->base; 36 37 // set driver specific fields 38 chdev->cmd = &soclib_bdv_cmd; 39 chdev->isr = &soclib_bdv_isr; 36 40 37 41 // get hardware device cluster and local pointer -
trunk/hal/tsar_mips32/drivers/soclib_hba.c
r101 r211 59 59 // get hardware device base address 60 60 xptr_t hba_xp = chdev->base; 61 62 // set driver specific fields 63 chdev->cmd = &soclib_hba_cmd; 64 chdev->isr = &soclib_hba_isr; 61 65 62 66 // get hardware device cluster and local pointer -
trunk/hal/x86_64/drivers/soclib_bdv.c
r210 r211 176 176 /* -------------------------------------------------------------------------- */ 177 177 178 void soclib_bdv_init( chdev_t * chdev ) 179 { 178 void soclib_bdv_init(chdev_t *chdev) 179 { 180 chdev->cmd = &soclib_bdv_cmd; 181 chdev->isr = &soclib_bdv_isr; 180 182 ata_init(); 181 183 } -
trunk/hal/x86_64/drivers/soclib_hba.c
r76 r211 32 32 void soclib_hba_init( chdev_t * chdev ) 33 33 { 34 // set driver specific fields 35 chdev->cmd = &soclib_hba_cmd; 36 chdev->isr = &soclib_hba_isr; 34 37 38 x86_panic((const char *)__func__); 35 39 } 36 40 37 41 void __attribute__ ((noinline)) soclib_hba_cmd( xptr_t th_xp ) 38 42 { 39 43 x86_panic((const char *)__func__); 40 44 } 41 45 42 46 void __attribute__ ((noinline)) soclib_hba_isr( chdev_t * chdev ) 43 47 { 44 48 x86_panic((const char *)__func__); 45 49 } 46 50
Note: See TracChangeset
for help on using the changeset viewer.