summaryrefslogtreecommitdiff
path: root/libcpu
diff options
context:
space:
mode:
authorArcherChang <[email protected]>2017-08-25 14:25:35 +0800
committerArcherChang <[email protected]>2017-08-25 14:25:35 +0800
commit652ea85a3939598c732ac8c1366b5c574fcc48b8 (patch)
treecebd446d884a779a99ff65d98a63d4255ff0b8c9 /libcpu
parent921fbfbc219f48c77d8b4296d6038bf04a8ff53b (diff)
[1] Andes N1068体系移植
a. Libc改用官方版本(工具链附带版本); b. 去除未使用文件;
Diffstat (limited to 'libcpu')
-rw-r--r--libcpu/nds32/os_cpu.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/libcpu/nds32/os_cpu.h b/libcpu/nds32/os_cpu.h
deleted file mode 100644
index 2eea70298a..0000000000
--- a/libcpu/nds32/os_cpu.h
+++ /dev/null
@@ -1,33 +0,0 @@
-#ifndef OS_CPU_H
-#define OS_CPU_H
-
-#include "nds32.h"
-/*
- * *********************************************************************************************************
- * * DATA TYPES
- * * (Compiler Specific)
- * *********************************************************************************************************
- * */
-typedef unsigned char BOOLEAN;
-typedef unsigned char INT8U; /* Unsigned 8 bit quantity */
-typedef signed char INT8S; /* Signed 8 bit quantity */
-typedef unsigned short INT16U; /* Unsigned 16 bit quantity */
-typedef signed short INT16S; /* Signed 16 bit quantity */
-typedef unsigned int INT32U; /* Unsigned 32 bit quantity */
-typedef signed int INT32S; /* Signed 32 bit quantity */
-typedef float FP32; /* Single precision floating point */
-typedef double FP64; /* Double precision floating point */
-
-typedef unsigned long OS_STK; /* Each stack entry is 32-bit wide */
-typedef unsigned long OS_CPU_SR; /* Define size of CPU status register (PSR = 32 bits) */
-
-void OS_CPU_IRQ_ISR(void); /* See OS_CPU_A.S */
-void OS_CPU_IRQ_ISR_Handler(void); /* See BSP code */
-
-void OSCtxSw(void);
-void CtxSave(void);
-void CtxRestore(void);
-
-void OS_DCache_Writeback(void *aVA, unsigned aSize);
-
-#endif