Changeset 50b3d30 in mainline for boot/arch/ia64/loader/main.c
- Timestamp:
- 2008-11-30T21:35:13Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c716d94
- Parents:
- 1baec4b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/ia64/loader/main.c
r1baec4b r50b3d30 45 45 } 46 46 47 #define DEFAULT_MEMORY_BASE 0x4000000 48 #define DEFAULT_MEMORY_SIZE 0x4000000 49 #define DEFAULT_LEGACY_IO_BASE 0x00000FFFFC000000 50 #define DEFAULT_LEGACY_IO_SIZE 0x4000000 51 52 #define DEFAULT_FREQ_SCALE 0x0000000100000001 // 1/1 53 #define DEFAULT_SYS_FREQ 100000000 //100MHz 54 47 55 48 56 #ifdef REVISION … … 79 87 80 88 81 82 89 version_print(); 83 90 … … 93 100 printf(" %P: %s image (size %d bytes)\n", components[i].start, 94 101 components[i].name, components[i].size); 102 103 if(!bootinfo->hello_configured) 104 { 105 /* 106 * Load configuration defaults for simulators 107 */ 108 bootinfo->memmap_items=0; 109 110 bootinfo->memmap[bootinfo->memmap_items].base=DEFAULT_MEMORY_BASE; 111 bootinfo->memmap[bootinfo->memmap_items].size=DEFAULT_MEMORY_SIZE; 112 bootinfo->memmap[bootinfo->memmap_items].type=EFI_MEMMAP_FREE_MEM; 113 bootinfo->memmap_items++; 114 115 bootinfo->memmap[bootinfo->memmap_items].base=DEFAULT_LEGACY_IO_BASE; 116 bootinfo->memmap[bootinfo->memmap_items].size=DEFAULT_LEGACY_IO_SIZE; 117 bootinfo->memmap[bootinfo->memmap_items].type=EFI_MEMMAP_IO_PORTS; 118 bootinfo->memmap_items++; 119 120 bootinfo->freq_scale = DEFAULT_FREQ_SCALE; 121 bootinfo->sys_freq = DEFAULT_SYS_FREQ; 122 123 } 124 95 125 96 126
Note:
See TracChangeset
for help on using the changeset viewer.