📄 at91rm9200_fiq_ipc_type.h
字号:
/* * this defines the struct which is used to communicate between the FIQ * world and the normal linux kernel world. One of these structs is * statically defined for you in the monolithic kernel so the FIQ ISR code * can safely touch it any any time. * * You also want to include this file in your kernel module that wants to * communicate with your FIQ code. Add any kinds of vars that are used by * the FIQ ISR and the module in here. * * To get you started there is just an int that is incremented every FIQ * you can remove this when you are ready to customize, but it is useful * for testing */#include <linux/serial_reg.h>#include <linux/serial_core.h>#include <linux/serial.h>#include <linux/serial_8250.h>#include <asm/serial.h>#include "../../../drivers/serial/8250.h"struct at91rm9200_fiq_ipc { int nCountFiqEvents; unsigned char tram_buff[100]; unsigned char rec_buff[100];};/* inits and begins FIQ service */voidat91rm9200_fiq_init(void);/* stops FIQ events being seen any more */voidat91rm9200_fiq_exit(void);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -