Changeset 197 for trunk/hal/x86_64/drivers/pic_apic.h
- Timestamp:
- Jul 13, 2017, 12:42:33 PM (8 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/drivers/pic_apic.h
r196 r197 1 1 /* 2 * soclib_pic.c - soclib PIC driver definition.2 * pic_apic.c - APIC PIC driver definitions 3 3 * 4 * Author Alain Greiner (2016) 5 * 6 * Copyright (c) UPMC Sorbonne Universites 4 * Copyright (c) 2017 Maxime Villard 7 5 * 8 6 * This file is part of ALMOS-MKH. … … 18 16 * 19 17 * You should have received a copy of the GNU General Public License 20 * along with ALMOS- kernel; if not, write to the Free Software Foundation,18 * along with ALMOS-MKH; if not, write to the Free Software Foundation, 21 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 22 20 */ 23 21 24 #ifndef _ SOCLIB_IOPIC_H_25 #define _ SOCLIB_IOPIC_H_22 #ifndef _PIC_APIC_H_ 23 #define _PIC_APIC_H_ 26 24 27 25 #include <hal_types.h> 28 26 29 void soclib_pic_init( chdev_t * pic );30 void soclib_pic_extend_init( uint32_t * xcu_base );31 void soclib_pic_bind_irq( lid_t lid,27 void pic_apic_init( chdev_t * pic ); 28 void pic_apic_extend_init( uint32_t * xcu_base ); 29 void pic_apic_bind_irq( lid_t lid, 32 30 chdev_t * src_chdev ); 33 void soclib_pic_enable_irq( lid_t lid,31 void pic_apic_enable_irq( lid_t lid, 34 32 chdev_t * src_chdev ); 35 void soclib_pic_disable_irq( lid_t lid,33 void pic_apic_disable_irq( lid_t lid, 36 34 chdev_t * src_chdev ); 37 void soclib_pic_enable_timer( uint32_t period );35 void pic_apic_enable_timer( uint32_t period ); 38 36 39 void soclib_pic_send_ipi( cxy_t cxy,37 void pic_apic_send_ipi( cxy_t cxy, 40 38 lid_t lid ); 41 39 42 #endif /* _ SOCLIB_IOPIC_H_ */40 #endif /* _PIC_APIC_H_ */
Note: See TracChangeset
for help on using the changeset viewer.