add lab answers
This commit is contained in:
10
labcodes_answer/lab4_result/kern/driver/picirq.h
Normal file
10
labcodes_answer/lab4_result/kern/driver/picirq.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef __KERN_DRIVER_PICIRQ_H__
|
||||
#define __KERN_DRIVER_PICIRQ_H__
|
||||
|
||||
void pic_init(void);
|
||||
void pic_enable(unsigned int irq);
|
||||
|
||||
#define IRQ_OFFSET 32
|
||||
|
||||
#endif /* !__KERN_DRIVER_PICIRQ_H__ */
|
||||
|
||||
Reference in New Issue
Block a user