at91rm9200_fiq_ipc_type.h
来自「linux内核不提供fiq的驱动的」· C头文件 代码 · 共 36 行
H
36 行
/* * 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 + =
减小字号Ctrl + -
显示快捷键?