Changeset 26fb118a in mainline
- Timestamp:
- 2011-07-31T19:56:54Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 577fe9b6
- Parents:
- 666d6dc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/ia64/src/main.c
r666d6dc r26fb118a 35 35 #include <arch/_components.h> 36 36 #include <genarch/efi.h> 37 #include <arch/sal.h> 37 38 #include <halt.h> 38 39 #include <printf.h> … … 119 120 static void read_sal_configuration(void) 120 121 { 121 if ( !bootpar) {122 /* Configure default values for simulators.*/122 if (bootpar && bootpar->efi_system_table) { 123 /* TODO: read the real values from SAL */ 123 124 bootinfo.freq_scale = DEFAULT_FREQ_SCALE; 124 125 bootinfo.sys_freq = DEFAULT_SYS_FREQ; 126 127 efi_guid_t sal_guid = SAL_SYSTEM_TABLE_GUID; 128 sal_system_table_header_t *sal_st; 129 130 sal_st = efi_vendor_table_find( 131 (efi_system_table_t *) bootpar->efi_system_table, sal_guid); 132 133 sal_system_table_parse(sal_st); 125 134 } else { 126 /* TODO: read the real values from SAL*/135 /* Configure default values for simulators. */ 127 136 bootinfo.freq_scale = DEFAULT_FREQ_SCALE; 128 137 bootinfo.sys_freq = DEFAULT_SYS_FREQ;
Note:
See TracChangeset
for help on using the changeset viewer.