Mercurial > nand-ecoscentric
diff packages/hal/mips/arch/current/include/hal_cache.h @ 76:435cced73e2f ecos-v1_3_1-release
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
| author | jlarmour |
|---|---|
| date | Tue, 28 Mar 2000 14:10:45 +0000 |
| parents | bf00f99aec69 |
| children | 08ffab08d2ee |
line wrap: on
line diff
--- a/packages/hal/mips/arch/current/include/hal_cache.h +++ b/packages/hal/mips/arch/current/include/hal_cache.h @@ -58,7 +58,9 @@ // which are MIPS ISA 3. This is useful if someone is compiling // with -mips2, but the architecture is really MIPS ISA 3. -#define _HAL_ASM_SET_MIPS_ISA( _isal_ ) asm volatile ( ".set mips" ## #_isal_ ) +#define _hal_asm_mips_cpp_stringize( _x_ ) #_x_ +#define _HAL_ASM_SET_MIPS_ISA( _isal_ ) asm volatile ( \ + ".set mips" ## _hal_asm_mips_cpp_stringize(_isal_) ) //=============================================================================
