[Kernel] Add ARMCC 6.x support.

This commit is contained in:
Bernard Xiong
2018-09-23 12:08:44 +08:00
parent cf13f84c61
commit b98a0ba804
12 changed files with 40 additions and 20 deletions

View File

@@ -37,7 +37,11 @@
#include "dfs_posix.h"
#endif
#ifdef __CLANG_ARM
__asm(".global __use_no_semihosting\n\t");
#else
#pragma import(__use_no_semihosting_swi)
#endif
/* Standard IO device handles. */
#define STDIN 0