?? intr.h
字號(hào):
/*
===============================================================================
| Copyright (C) 2004 RuanHaiShen, All rights reserved.
| SUMMARY:
| Interrupt and clock support.
|
| DESCRIPTION:
| See http://www.01s.org for documentation, latest information, license
| and contact details.
| email:ruanhaishen@01s.org
=============================================================================*/
#ifndef __arch_intr_h__
#define __arch_intr_h__
/*===========================================================================*/
#define disable_irq() asm { cli }
#define CRITICAL_ENTER asm { pushf; cli }
#define CRITICAL_EXIT asm { popf }
#define TICKS_PER_SEC 200
#define __dos_tick() asm int 0x81
#define __eoi_to_8259a() \
do { \
asm { \
mov al, 0x20; \
mov dx, 0x20; \
out dx, al; \
} \
} while (0)
/*===========================================================================*/
#endif
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -