lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | /*******************************************************************************
|
| 2 | * °æÈ¨ËùÓÐ (C)2011, ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾¡£
|
| 3 | *
|
| 4 | * ÎļþÃû³Æ: ptf.h
|
| 5 | * Îļþ±êʶ: ptf.h
|
| 6 | * ÄÚÈÝÕªÒª: ptf stands for platform£¬¸ÃÍ·Îļþ°üº¬ºÍ²Ù×÷ϵͳƽ̨Ïà¹ØµÄÖжϱ£´æ
|
| 7 | ºÍÖжϻָ´ºê¶¨ÒåÒÔ¼°Ò»Ð©ÖжϱêÖ¾Öµ
|
| 8 | * ʹÓ÷½·¨: #include "ptf.h"
|
| 9 | *
|
| 10 | * ÐÞ¸ÄÈÕÆÚ °æ±¾ºÅ Ð޸ıê¼Ç ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ
|
| 11 | * ------------------------------------------------------------------------------
|
| 12 | * 2011/12/09 V1.0 Create ÁõÑÇÄÏ ´´½¨
|
| 13 | *
|
| 14 | *******************************************************************************/
|
| 15 |
|
| 16 | #ifndef _PTF_H
|
| 17 | #define _PTF_H
|
| 18 |
|
| 19 | /*******************************************************************************
|
| 20 | * Í·Îļþ *
|
| 21 | *******************************************************************************/
|
| 22 | #include "oss_api.h"
|
| 23 |
|
| 24 |
|
| 25 | /*******************************************************************************
|
| 26 | * ºê¶¨Òå *
|
| 27 | *******************************************************************************/
|
| 28 | #define ENABLE_INT (0x1000)
|
| 29 | #define DISABLE_INT (~ENABLE_INT)
|
| 30 | #define CLEAR_INT (0x4000)
|
| 31 | #define PENDING_INT (0x2000)
|
| 32 |
|
| 33 | # define PTF_IRQ_DISABLE ZOSS_DISABLE_IRQ()
|
| 34 | # define PTF_IRQ_ENABLE ZOSS_ENABLE_IRQ()
|
| 35 | # define PTF_IRQ_DISABLE_QUICK ZOSS_DISABLE_IRQ_FAST()
|
| 36 | # define PTF_IRQ_ENABLE_QUICK ZOSS_ENABLE_IRQ_FAST()
|
| 37 |
|
| 38 | /*******************************************************************************
|
| 39 | * Êý¾ÝÀàÐͶ¨Òå *
|
| 40 | *******************************************************************************/
|
| 41 |
|
| 42 |
|
| 43 | /*******************************************************************************
|
| 44 | * È«¾Ö±äÁ¿ÉùÃ÷ *
|
| 45 | *******************************************************************************/
|
| 46 |
|
| 47 |
|
| 48 | /*******************************************************************************
|
| 49 | * È«¾Öº¯ÊýÉùÃ÷ *
|
| 50 | *******************************************************************************/
|
| 51 |
|
| 52 | #endif // #ifndef _PTF_H
|
| 53 |
|