⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ezhal_impl.h

📁 嵌入式实时内核源代码
💻 H
字号:
//
// $Id: ezhal_impl.h,v 1.2 2005/05/26 11:34:09 weihan Exp $
//
//      HAL layer internal header file.
//
#ifndef _EZHAL_IMPL_H_
#define _EZHAL_IMPL_H_

#include "eztypes.h"

#ifdef _GNUC
#define ASM_VOLATILE    __asm__ __volatile__
#define ASM             ASM_VOLATILE

#define DECL_ASMENTRY(lable) \
        ASM(".global _"#lable";" \
            ".align;" \
            "_"#lable":");

#define DECL_ASMLINKAGE         EXTERN_C
#define DECL_ALIGN(n)           __attribute__ ((aligned(n)))
#define DECL_PACKED             __attribute__ ((packed))

#else
#error Compiler not supported.
#endif


#endif //_EZHAL_IMPL_H_

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -