]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/RISC-V_IGLOO2_Creative_SoftConsole/Microsemi_Code/hal/cpu_types.h
Rename directories in the RISC-V port.
[freertos] / FreeRTOS / Demo / RISC-V_IGLOO2_Creative_SoftConsole / Microsemi_Code / hal / cpu_types.h
1 /*******************************************************************************\r
2  * (c) Copyright 2007-2018 Microsemi SoC Products Group. All rights reserved.\r
3  * \r
4  * SVN $Revision: 9661 $\r
5  * SVN $Date: 2018-01-15 16:13:33 +0530 (Mon, 15 Jan 2018) $\r
6  */\r
7 #ifndef __CPU_TYPES_H\r
8 #define __CPU_TYPES_H   1\r
9 \r
10 #include <stdint.h>\r
11 \r
12 /*------------------------------------------------------------------------------\r
13  */\r
14 typedef unsigned int size_t;\r
15 \r
16 /*------------------------------------------------------------------------------\r
17  * addr_t: address type.\r
18  * Used to specify the address of peripherals present in the processor's memory\r
19  * map.\r
20  */\r
21 typedef unsigned int addr_t;\r
22 \r
23 /*------------------------------------------------------------------------------\r
24  * psr_t: processor state register.\r
25  * Used by HAL_disable_interrupts() and HAL_restore_interrupts() to store the\r
26  * processor's state between disabling and restoring interrupts.\r
27  */\r
28 typedef unsigned int psr_t;\r
29 \r
30 #endif  /* __CPU_TYPES_H */\r
31 \r