Changeset 46c20c8 in mainline for boot/arch/mips32/include/types.h
- Timestamp:
- 2010-11-26T20:08:10Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 45df59a
- Parents:
- fb150d78 (diff), ffdd2b9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 moved
-
boot/arch/mips32/include/types.h (moved) (moved from boot/arch/arm32/loader/types.h ) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/mips32/include/types.h
rfb150d78 r46c20c8 27 27 */ 28 28 29 #ifndef BOOT_mips32_TYPES_H_ 30 #define BOOT_mips32_TYPES_H_ 29 31 30 /** @addtogroup arm32boot 31 * @{ 32 */ 33 /** @file 34 * @brief Definitions of basic types like #uintptr_t. 35 */ 32 #define TASKMAP_MAX_RECORDS 32 33 #define CPUMAP_MAX_RECORDS 32 34 #define BOOTINFO_TASK_NAME_BUFLEN 32 36 35 36 typedef uint32_t size_t; 37 typedef uint32_t uintptr_t; 37 38 38 #ifndef BOOT_arm32_TYPES_H 39 #define BOOT_arm32_TYPES_H 39 typedef struct { 40 /** Address where the task was placed. */ 41 void *addr; 42 /** Size of the task's binary. */ 43 size_t size; 44 /** Task name. */ 45 char name[BOOTINFO_TASK_NAME_BUFLEN]; 46 } task_t; 40 47 41 42 #include <gentypes.h> 43 44 typedef signed char int8_t; 45 46 typedef unsigned char uint8_t; 47 typedef unsigned short uint16_t; 48 typedef unsigned int uint32_t; 49 typedef unsigned long long uint64_t; 50 51 typedef uint32_t uintptr_t; 52 typedef uint32_t unative_t; 53 48 typedef struct { 49 uint32_t cpumap; 50 size_t cnt; 51 task_t tasks[TASKMAP_MAX_RECORDS]; 52 } bootinfo_t; 54 53 55 54 #endif 56 57 58 /** @}59 */
Note:
See TracChangeset
for help on using the changeset viewer.
