Changeset 4872160 in mainline for boot/arch/arm32/include/types.h
- Timestamp:
- 2010-05-04T10:44:55Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 568db0f
- Parents:
- bb252ca
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/arm32/include/types.h
rbb252ca r4872160 1 1 /* 2 * Copyright (c) 200 5Martin Decky2 * Copyright (c) 2006 Martin Decky 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 #ifndef BOOT_ppc32_MAIN_H_ 30 #define BOOT_ppc32_MAIN_H_ 29 /** @addtogroup arm32boot 30 * @{ 31 */ 32 /** @file 33 * @brief Definitions of basic types like #uintptr_t. 34 */ 31 35 32 #include <ofw.h> 33 #include <ofw_tree.h> 34 #include <balloc.h> 35 #include <types.h> 36 #ifndef BOOT_arm32_TYPES_H 37 #define BOOT_arm32_TYPES_H 36 38 37 #define TASKMAP_MAX_RECORDS 32 38 39 /** Size of buffer for storing task name in task_t. */ 39 #define TASKMAP_MAX_RECORDS 32 40 40 #define BOOTINFO_TASK_NAME_BUFLEN 32 41 41 42 typedef uint32_t size_t; 43 typedef uint32_t uintptr_t; 44 45 typedef uint32_t pfn_t; 46 42 47 typedef struct { 48 /** Address where the task was placed. */ 43 49 void *addr; 44 uint32_t size; 50 /** Size of the task's binary. */ 51 size_t size; 52 /** Task name. */ 45 53 char name[BOOTINFO_TASK_NAME_BUFLEN]; 46 54 } task_t; 47 55 48 56 typedef struct { 49 uint32_t count;57 size_t cnt; 50 58 task_t tasks[TASKMAP_MAX_RECORDS]; 51 } taskmap_t;52 53 typedef struct {54 memmap_t memmap;55 taskmap_t taskmap;56 ballocs_t ballocs;57 ofw_tree_node_t *ofw_root;58 59 } bootinfo_t; 59 60 60 extern void start(void); 61 extern void bootstrap(void); 61 #endif 62 62 63 #endif 63 /** @} 64 */
Note:
See TracChangeset
for help on using the changeset viewer.