Changeset 46c20c8 in mainline for boot/arch/ia64/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/ia64/include/types.h (moved) (moved from boot/arch/mips32/loader/main.h ) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/ia64/include/types.h
rfb150d78 r46c20c8 27 27 */ 28 28 29 #ifndef BOOT_ mips32_MAIN_H_30 #define BOOT_ mips32_MAIN_H_29 #ifndef BOOT_ia64_TYPES_H_ 30 #define BOOT_ia64_TYPES_H_ 31 31 32 #define CPUMAP 0x8000100033 #define INITIAL_STACK 0x8000200034 #define M SIM_DORDER_ADDRESS 0xb000000432 #define TASKMAP_MAX_RECORDS 32 33 #define BOOTINFO_TASK_NAME_BUFLEN 32 34 #define MEMMAP_ITEMS 128 35 35 36 #define TASKMAP_MAX_RECORDS 32 37 #define CPUMAP_MAX_RECORDS 32 38 39 #ifndef __ASM__ 40 41 /** Size of buffer for storing task name in task_t. */ 42 #define BOOTINFO_TASK_NAME_BUFLEN 32 43 44 /** Struct holding information about single loaded task. */ 45 typedef struct { 46 /** Address where the task was placed. */ 47 void *addr; 48 /** Size of the task's binary. */ 49 unsigned int size; 50 /** Task name. */ 51 char name[BOOTINFO_TASK_NAME_BUFLEN]; 52 } task_t; 36 typedef uint64_t size_t; 37 typedef uint64_t unative_t; 38 typedef uint64_t uintptr_t; 53 39 54 40 typedef struct { 55 unsigned int cpumap; 56 unsigned int cnt; 57 task_t tasks[TASKMAP_MAX_RECORDS]; 41 void *addr; 42 size_t size; 43 char name[BOOTINFO_TASK_NAME_BUFLEN]; 44 } binit_task_t; 45 46 typedef struct { 47 size_t cnt; 48 binit_task_t tasks[TASKMAP_MAX_RECORDS]; 49 } binit_t; 50 51 typedef struct { 52 unsigned int type; 53 unsigned long base; 54 unsigned long size; 55 } efi_memmap_item_t; 56 57 typedef struct { 58 binit_t taskmap; 59 60 efi_memmap_item_t memmap[MEMMAP_ITEMS]; 61 unsigned int memmap_items; 62 63 unative_t *sapic; 64 unsigned long sys_freq; 65 unsigned long freq_scale; 66 unsigned int wakeup_intno; 67 int hello_configured; 58 68 } bootinfo_t; 59 69 60 extern void start(void);61 extern void bootstrap(void);62 63 70 #endif 64 65 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
