/external/autotest/server/site_tests/firmware_FMap/ |
D | firmware_FMap.py | 132 bios = {} 134 bios[e['name']] = {'offset': e['offset'], 'size': e['size']} 137 if 'RW_SECTION_A' not in bios: 140 elif 'RW_SECTION_B' not in bios: 144 if bios['RW_SECTION_A']['size'] != bios['RW_SECTION_B']['size']: 147 if (bios['RW_SECTION_A']['size'] == 0 148 or bios['RW_SECTION_B']['size'] == 0): 152 if 'RW_LEGACY' not in bios: 156 if bios['RW_LEGACY']['size'] < 1024*1024:
|
/external/autotest/server/site_tests/firmware_CorruptFwBodyA/ |
D | firmware_CorruptFwBodyA.py | 38 if (self.faft_client.bios.get_preamble_flags('a') & 45 self.faft_client.bios.corrupt_body('a') 50 self.faft_client.bios.restore_body('a') 55 self.faft_client.bios.corrupt_body('a') 60 self.faft_client.bios.restore_body('a')
|
/external/autotest/server/site_tests/platform_LabFirmwareUpdate/ |
D | platform_LabFirmwareUpdate.py | 116 bios = None 135 bios = self._construct_fw_version(bios_ro, bios_rw) 137 bios = bios_ro 138 return (bios, ec) 164 (bios, ec) = self._get_version_all() 167 if (bios != shball_bios or ec != shball_ec): 170 logging.info('installed bios/ec: %s/%s', bios, ec)
|
/external/syslinux/com32/modules/ |
D | dmitest.c | 86 moreprintf("\tVendor: %s\n", dmi->bios.vendor); in display_bios() 87 moreprintf("\tVersion: %s\n", dmi->bios.version); in display_bios() 88 moreprintf("\tRelease: %s\n", dmi->bios.release_date); in display_bios() 89 moreprintf("\tBios Revision %s\n", dmi->bios.bios_revision); in display_bios() 90 moreprintf("\tFirmware Revision %s\n", dmi->bios.firmware_revision); in display_bios() 91 moreprintf("\tAddress: 0x%04X0\n", dmi->bios.address); in display_bios() 92 moreprintf("\tRuntime address: %u %s\n", dmi->bios.runtime_size, in display_bios() 93 dmi->bios.runtime_size_unit); in display_bios() 94 moreprintf("\tRom size: %u %s\n", dmi->bios.rom_size, in display_bios() 95 dmi->bios.rom_size_unit); in display_bios()
|
D | dmi_utils.c | 36 if (((bool *) (&dmi->bios.characteristics))[i] == true) { in display_bios_characteristics() 41 if (((bool *) (&dmi->bios.characteristics_x1))[i] == true) { in display_bios_characteristics() 47 if (((bool *) (&dmi->bios.characteristics_x2))[i] == true) { in display_bios_characteristics()
|
/external/syslinux/com32/lua/src/ |
D | dmi.c | 88 s_bios *bios = &dmi_ptr->bios; in get_bios_table() local 90 if (!bios->filled) in get_bios_table() 94 LUA_ADD_STR_P(L, bios, vendor) in get_bios_table() 95 LUA_ADD_STR_P(L, bios, version) in get_bios_table() 96 LUA_ADD_STR_P(L, bios, release_date) in get_bios_table() 97 LUA_ADD_STR_P(L, bios, bios_revision) in get_bios_table() 98 LUA_ADD_STR_P(L, bios, firmware_revision) in get_bios_table() 99 LUA_ADD_NUM_P(L, bios, address) in get_bios_table() 100 LUA_ADD_NUM_P(L, bios, runtime_size) in get_bios_table() 101 LUA_ADD_STR_P(L, bios, runtime_size_unit) in get_bios_table() [all …]
|
/external/autotest/server/site_tests/firmware_CorruptBothFwBodyAB/ |
D | firmware_CorruptBothFwBodyAB.py | 30 if (self.faft_client.bios.get_preamble_flags('a') & 51 self.faft_client.bios.corrupt_body(('a', 'b')) 58 self.faft_client.bios.restore_body(('a', 'b')) 64 self.faft_client.bios.corrupt_body(('a', 'b')) 77 self.faft_client.bios.restore_body(('a', 'b'))
|
/external/syslinux/com32/gpllib/dmi/ |
D | dmi.c | 192 dmi->bios.runtime_size = code; in dmi_bios_runtime_size() 193 strlcpy(dmi->bios.runtime_size_unit, "bytes", in dmi_bios_runtime_size() 194 sizeof(dmi->bios.runtime_size_unit)); in dmi_bios_runtime_size() 196 dmi->bios.runtime_size = code >> 10; in dmi_bios_runtime_size() 197 strlcpy(dmi->bios.runtime_size_unit, "KB", in dmi_bios_runtime_size() 198 sizeof(dmi->bios.runtime_size_unit)); in dmi_bios_runtime_size() 211 ((bool *) (&dmi->bios.characteristics))[0] = true; in dmi_bios_characteristics() 218 ((bool *) (&dmi->bios.characteristics))[i - 3] = true; in dmi_bios_characteristics() 227 ((bool *) (&dmi->bios.characteristics_x1))[i] = true; in dmi_bios_characteristics_x1() 236 ((bool *) (&dmi->bios.characteristics_x2))[i] = true; in dmi_bios_characteristics_x2() [all …]
|
/external/syslinux/com32/hdt/ |
D | hdt-dump-dmi.c | 303 if (hardware->dmi.bios.filled == false) { in dump_bios() 312 snprintf(address,sizeof(address),"0x%04X0",hardware->dmi.bios.address); in dump_bios() 313 …snprintf(runtime,sizeof(runtime),"%u %s",hardware->dmi.bios.runtime_size, hardware->dmi.bios.runti… in dump_bios() 314 snprintf(rom,sizeof(rom),"%u %s",hardware->dmi.bios.rom_size, hardware->dmi.bios.rom_size_unit); in dump_bios() 318 add_hs(dmi.bios.vendor); in dump_bios() 319 add_hs(dmi.bios.version); in dump_bios() 320 add_hs(dmi.bios.release_date); in dump_bios() 321 add_hs(dmi.bios.bios_revision); in dump_bios() 322 add_hs(dmi.bios.firmware_revision); in dump_bios() 327 if (((bool *) (&hardware->dmi.bios.characteristics))[i] == true) { in dump_bios() [all …]
|
D | hdt-cli-dmi.c | 49 if (hardware->dmi.bios.filled == true) in show_dmi_modules() 181 if (hardware->dmi.bios.filled == false) { in show_dmi_bios() 188 more_printf(" Vendor : %s\n", hardware->dmi.bios.vendor); in show_dmi_bios() 189 more_printf(" Version : %s\n", hardware->dmi.bios.version); in show_dmi_bios() 190 more_printf(" Release Date : %s\n", hardware->dmi.bios.release_date); in show_dmi_bios() 191 more_printf(" Bios Revision : %s\n", hardware->dmi.bios.bios_revision); in show_dmi_bios() 192 if (strlen(hardware->dmi.bios.firmware_revision)) in show_dmi_bios() 194 hardware->dmi.bios.firmware_revision); in show_dmi_bios() 195 more_printf(" Address : 0x%04X0\n", hardware->dmi.bios.address); in show_dmi_bios() 197 hardware->dmi.bios.runtime_size, in show_dmi_bios() [all …]
|
D | hdt-menu-dmi.c | 147 snprintf(buffer, sizeof buffer, "Vendor : %s", dmi->bios.vendor); in compute_bios() 148 snprintf(statbuffer, sizeof statbuffer, "Vendor: %s", dmi->bios.vendor); in compute_bios() 152 snprintf(buffer, sizeof buffer, "Version : %s", dmi->bios.version); in compute_bios() 153 snprintf(statbuffer, sizeof statbuffer, "Version: %s", dmi->bios.version); in compute_bios() 157 snprintf(buffer, sizeof buffer, "Release : %s", dmi->bios.release_date); in compute_bios() 159 dmi->bios.release_date); in compute_bios() 163 snprintf(buffer, sizeof buffer, "Bios Rev. : %s", dmi->bios.bios_revision); in compute_bios() 165 dmi->bios.bios_revision); in compute_bios() 170 dmi->bios.firmware_revision); in compute_bios() 172 dmi->bios.firmware_revision); in compute_bios()
|
D | hdt-menu-summary.c | 102 hardware->dmi.bios.version); in compute_summarymenu() 104 hardware->dmi.bios.version); in compute_summarymenu() 109 hardware->dmi.bios.release_date); in compute_summarymenu() 111 hardware->dmi.bios.release_date); in compute_summarymenu()
|
/external/autotest/server/site_tests/firmware_RONormalBoot/ |
D | firmware_RONormalBoot.py | 37 flags = self.faft_client.bios.get_preamble_flags('a') 44 self.faft_client.bios.set_preamble_flags(('a', 51 self.faft_client.bios.set_preamble_flags('a', flags)
|
/external/autotest/server/site_tests/firmware_CorruptFwBodyB/ |
D | firmware_CorruptFwBodyB.py | 38 RO_enabled = (self.faft_client.bios.get_preamble_flags('b') & 42 self.faft_client.bios.corrupt_body('b') 56 self.faft_client.bios.restore_body('b')
|
/external/autotest/server/site_tests/firmware_RollbackFirmware/ |
D | firmware_RollbackFirmware.py | 35 self.faft_client.bios.move_version_backward('a') 40 self.faft_client.bios.move_version_backward('b') 53 self.faft_client.bios.move_version_forward(('a', 'b'))
|
/external/autotest/server/site_tests/platform_InstallFW/ |
D | control | 26 fw_type=<bios/ec>' 42 # Verify fw_type value either 'bios' or 'ec'. 43 if not (opts['fw_type'] == 'bios' or opts['fw_type'] == 'ec'): 45 'Correct FW Options are bios or ec.')
|
/external/autotest/server/site_tests/firmware_ECWriteProtect/ |
D | firmware_ECWriteProtect.py | 46 flags = self.faft_client.bios.get_preamble_flags('a') 60 self.faft_client.bios.set_preamble_flags('a', 0) 74 self.faft_client.bios.set_preamble_flags(('a',
|
/external/vboot_reference/utility/ |
D | dev_debug_vboot | 52 -b FILE, --bios FILE Specify the BIOS image to use 186 TEMP=$(getopt -o hvb:i:k:cf --long help,bios:,image:,kernel:,cleanup,force \ 193 -b|--bios) 304 if log flashrom -p host -r bios.rom ; then 305 log futility dump_fmap -x bios.rom
|
/external/autotest/server/site_tests/firmware_CorruptFwSigB/ |
D | firmware_CorruptFwSigB.py | 34 self.faft_client.bios.corrupt_sig('b') 44 self.faft_client.bios.restore_sig('b')
|
/external/autotest/server/site_tests/firmware_CorruptFwSigA/ |
D | firmware_CorruptFwSigA.py | 33 self.faft_client.bios.corrupt_sig('a') 44 self.faft_client.bios.restore_sig('a')
|
/external/autotest/server/site_tests/firmware_CorruptBothFwSigAB/ |
D | firmware_CorruptBothFwSigAB.py | 38 self.faft_client.bios.corrupt_sig(('a', 'b'),) 64 self.faft_client.bios.restore_sig(('a', 'b'),)
|
/external/syslinux/ |
D | Makefile | 18 all_firmware := bios efi32 efi64 253 bios: target 254 @mkdir -p $(OBJ)/bios 255 $(MAKE) -C $(OBJ)/bios -f $(SRC)/Makefile SRC="$(SRC)" \ 256 objdir=$(OBJ)/bios OBJ=$(OBJ)/bios HAVE_FIRMWARE=1 \
|
/external/syslinux/com32/lib/sys/vesa/ |
D | i915resolution.c | 164 bios_type bios; member 436 map->bios = BT_3; in open_vbios() 439 map->bios = BT_2; in open_vbios() 442 map->bios = BT_1; in open_vbios() 538 switch(map->bios) { 618 switch(map->bios) { in set_mode() 747 debug("BIOS: %s\r\n", bios_type_names[map->bios]); in display_map_info()
|
/external/autotest/server/cros/faft/ |
D | firmware_test.py | 477 gbb_flags = self.faft_client.bios.get_gbb_flags() 483 self.faft_client.bios.set_gbb_flags(new_flags) 879 flags = self.faft_client.bios.get_preamble_flags(section) 882 self.faft_client.bios.set_preamble_flags(section, flags) 1160 current_firmware_sha = (self.faft_client.bios.get_sig_sha('a'), 1161 self.faft_client.bios.get_body_sha('a'), 1162 self.faft_client.bios.get_sig_sha('b'), 1163 self.faft_client.bios.get_body_sha('b')) 1174 self.faft_client.bios.reload() 1199 self.faft_client.bios.dump_whole(remote_bios_path) [all …]
|
/external/autotest/server/site_tests/firmware_UpdateFirmwareVersion/ |
D | firmware_UpdateFirmwareVersion.py | 26 actual_ver = self.faft_client.bios.get_version( 57 actual_ver = self.faft_client.bios.get_version('a')
|