瀏覽代碼

[compiler] Add __always_inline macro

tags/v0.9.6
Michael Brown 16 年之前
父節點
當前提交
9b01a9fd9c
共有 1 個檔案被更改,包括 3 行新增0 行删除
  1. 3
    0
      src/include/compiler.h

+ 3
- 0
src/include/compiler.h 查看文件

@@ -325,6 +325,9 @@ extern void dbg_hex_dump_da ( unsigned long dispaddr,
325 325
 /** Declare a data structure to be aligned with 16-byte alignment */
326 326
 #define __aligned __attribute__ (( aligned ( 16 ) ))
327 327
 
328
+/** Declare a function to be always inline */
329
+#define __always_inline __attribute__ (( always_inline ))
330
+
328 331
 /**
329 332
  * Shared data.
330 333
  *

Loading…
取消
儲存