- Timestamp:
- Jul 27, 2017, 3:29:48 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/core/hal_irqmask.c
r279 r285 25 25 #include <hal_types.h> 26 26 27 ////////////////////////////////////////// ///28 inline void hal_disable_irq( uint32_t * old )27 ////////////////////////////////////////// 28 inline void hal_disable_irq( reg_t * old ) 29 29 { 30 30 register uint32_t sr; … … 43 43 } 44 44 45 ///////////////////////////////////////// ///46 inline void hal_enable_irq( uint32_t * old )45 ///////////////////////////////////////// 46 inline void hal_enable_irq( reg_t * old ) 47 47 { 48 48 register uint32_t sr; … … 60 60 } 61 61 62 //////////////////////////////////////// ///63 inline void hal_restore_irq( uint32_t old )62 //////////////////////////////////////// 63 inline void hal_restore_irq( reg_t old ) 64 64 { 65 65 __asm__ volatile -
trunk/hal/x86_64/core/hal_irqmask.c
r240 r285 24 24 #include <hal_segmentation.h> 25 25 26 inline void hal_disable_irq( uint32_t *old)26 inline void hal_disable_irq(reg_t *old) 27 27 { 28 28 tls_t *tls = curcpu(); … … 34 34 } 35 35 36 inline void hal_enable_irq( uint32_t *old)36 inline void hal_enable_irq(reg_t *old) 37 37 { 38 38 tls_t *tls = curcpu(); … … 44 44 } 45 45 46 inline void hal_restore_irq( uint32_t old)46 inline void hal_restore_irq(reg_t old) 47 47 { 48 48 tls_t *tls = curcpu(); -
trunk/kernel/kern/kernel_init.c
r279 r285 746 746 747 747 error_t error; 748 uint32_tstatus; // running core status register748 reg_t status; // running core status register 749 749 750 750 cxy_t io_cxy = info->io_cxy;
Note: See TracChangeset
for help on using the changeset viewer.