add gcc demo
This commit is contained in:
23
arch/risc-v/common/include/tos_cpu_def.h
Normal file
23
arch/risc-v/common/include/tos_cpu_def.h
Normal file
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* tos_cpu_def.h
|
||||
*
|
||||
* Created on: Sep 7, 2019
|
||||
* Author: ace
|
||||
*/
|
||||
|
||||
#ifndef _TOS_CPU_DEF_H_
|
||||
#define _TOS_CPU_DEF_H_
|
||||
|
||||
enum CPU_WORD_SIZE {
|
||||
CPU_WORD_SIZE_08,
|
||||
CPU_WORD_SIZE_16,
|
||||
CPU_WORD_SIZE_32,
|
||||
CPU_WORD_SIZE_64,
|
||||
};
|
||||
|
||||
enum CPU_STK_GROWTH {
|
||||
CPU_STK_GROWTH_ASCENDING,
|
||||
CPU_STK_GROWTH_DESCENDING,
|
||||
};
|
||||
|
||||
#endif /* _TOS_CPU_DEF_H_ */
|
Reference in New Issue
Block a user