📄 tl_int.h
字号:
/*
** thinlib (c) 2001 Matthew Conte (matt@conte.com)
**
**
** tl_int.h
**
** interrupt handling stuff
**
** $Id: $
*/
#ifndef _TL_INT_H_
#define _TL_INT_H_
#define THIN_DISABLE_INTS() __asm__ __volatile__ ("cli")
#define THIN_ENABLE_INTS() __asm__ __volatile__ ("sti")
typedef int (*inthandler_t)(void);
extern int thin_int_install(int chan, inthandler_t handler);
extern void thin_int_remove(int chan);
extern void thin_irq_restore(int irq);
extern void thin_irq_enable(int irq);
extern void thin_irq_disable(int irq);
#endif /* !_TL_INT_H_ */
/*
** $Log: $
*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -