/qemu/hw/i386/ |
H A D | pc_sysfw.c | 48 uint64_t flash_size; in pc_isa_bios_init() local 51 flash_size = memory_region_size(flash_mem); in pc_isa_bios_init() 54 isa_bios_size = MIN(flash_size, 128 * KiB); in pc_isa_bios_init() 71 ((uint8_t*)flash_ptr) + (flash_size - isa_bios_size), in pc_isa_bios_init() 154 int flash_size; in pc_system_flash_map() local 208 flash_size = memory_region_size(flash_mem); in pc_system_flash_map() 209 x86_firmware_configure(gpa, flash_ptr, flash_size); in pc_system_flash_map()
|
H A D | pc_sysfw_ovmf.c | 40 void pc_system_parse_ovmf_flash(uint8_t *flash_ptr, size_t flash_size) in pc_system_parse_ovmf_flash() argument 53 if (flash_size < TARGET_PAGE_SIZE) { in pc_system_parse_ovmf_flash() 65 ptr = flash_ptr + flash_size - (bytes_after_table_footer + sizeof(guid)); in pc_system_parse_ovmf_flash()
|
H A D | pc_sysfw_ovmf-stubs.c | 23 void pc_system_parse_ovmf_flash(uint8_t *flash_ptr, size_t flash_size) in pc_system_parse_ovmf_flash() argument
|
/qemu/hw/arm/ |
H A D | omap_sx1.c | 112 uint32_t flash_size = FLASH0_SIZE; in sx1_init() local 122 flash_size = FLASH2_SIZE; in sx1_init() 130 memory_region_init_rom(flash, NULL, "omap_sx1.flash0-0", flash_size, in sx1_init() 135 "sx1.cs0", OMAP_CS0_SIZE - flash_size); in sx1_init() 137 OMAP_CS0_BASE + flash_size, &cs[0]); in sx1_init() 153 "omap_sx1.flash0-1", flash_size, in sx1_init()
|
H A D | stm32l4x5_soc.c | 177 sc->flash_size, errp)) { in stm32l4x5_soc_realize() 182 sc->flash_size); in stm32l4x5_soc_realize() 453 ssc->flash_size = 256 * KiB; in stm32l4x5xc_soc_class_init() 460 ssc->flash_size = 512 * KiB; in stm32l4x5xe_soc_class_init() 467 ssc->flash_size = 1 * MiB; in stm32l4x5xg_soc_class_init()
|
H A D | musicpal.c | 1210 unsigned long flash_size; in musicpal_init() local 1259 flash_size = blk_getlength(blk); in musicpal_init() 1260 if (flash_size != 8 * MiB && flash_size != 16 * MiB && in musicpal_init() 1261 flash_size != 32 * MiB) { in musicpal_init() 1272 "musicpal.flash", flash_size, in musicpal_init() 1274 MP_FLASH_SIZE_MAX / flash_size, in musicpal_init()
|
H A D | nrf51_soc.c | 123 s->flash_size, errp)) { in nrf51_soc_realize() 215 DEFINE_PROP_UINT32("flash-size", NRF51State, flash_size,
|
H A D | npcm8xx.c | 336 size_t flash_size; member 343 .flash_size = 128 * MiB, 350 .flash_size = 16 * MiB, 356 .flash_size = 128 * MiB, 733 npcm8xx_fiu[i].flash_size, &error_abort); in npcm8xx_realize()
|
H A D | microbit.c | 60 0, s->nrf51.flash_size); in OBJECT_DECLARE_SIMPLE_TYPE()
|
H A D | npcm7xx.c | 295 size_t flash_size; member 302 .flash_size = 128 * MiB, 309 .flash_size = 128 * MiB, 743 npcm7xx_fiu[i].flash_size, &error_abort); in npcm7xx_realize()
|
H A D | b-l475e-iot01a.c | 86 sc->flash_size); in bl475e_init()
|
H A D | stellaris.c | 1066 int flash_size; in stellaris_init() local 1079 flash_size = (((board->dc0 & 0xffff) + 1) << 1) * 1024; in stellaris_init() 1086 memory_region_init_rom(flash, NULL, "stellaris.flash", flash_size, in stellaris_init() 1398 armv7m_load_kernel(ARMV7M(armv7m)->cpu, ms->kernel_filename, 0, flash_size); in stellaris_init()
|
/qemu/hw/nvram/ |
H A D | nrf51_nvm.c | 232 if (value <= (s->flash_size - NRF51_PAGE_SIZE)) { in io_write() 246 memset(s->storage, 0xFF, s->flash_size); in io_write() 247 memory_region_flush_rom_device(&s->flash, 0, s->flash_size); in io_write() 293 assert(offset + size <= s->flash_size); in flash_write() 341 "nrf51_soc.flash", s->flash_size, errp)) { in nrf51_nvm_realize() 358 DEFINE_PROP_UINT32("flash-size", NRF51NVMState, flash_size, 0x40000),
|
/qemu/target/i386/ |
H A D | sev-system-stub.c | 29 int sev_es_save_reset_vector(void *flash_ptr, uint64_t flash_size) in sev_es_save_reset_vector() argument 39 void pc_system_parse_sev_metadata(uint8_t *flash_ptr, size_t flash_size) in pc_system_parse_sev_metadata() argument
|
H A D | sev.h | 64 int sev_es_save_reset_vector(void *flash_ptr, uint64_t flash_size); 67 void pc_system_parse_sev_metadata(uint8_t *flash_ptr, size_t flash_size);
|
H A D | sev.c | 647 void pc_system_parse_sev_metadata(uint8_t *flash_ptr, size_t flash_size) in pc_system_parse_sev_metadata() argument 657 metadata = (OvmfSevMetadata *)(flash_ptr + flash_size - data->offset); in pc_system_parse_sev_metadata() 660 metadata->len > flash_size - data->offset) { in pc_system_parse_sev_metadata() 1738 sev_es_find_reset_vector(void *flash_ptr, uint64_t flash_size, in sev_es_find_reset_vector() argument 1768 data = flash_ptr + flash_size - 0x20; in sev_es_find_reset_vector() 1813 int sev_es_save_reset_vector(void *flash_ptr, uint64_t flash_size) in sev_es_save_reset_vector() argument 1825 ret = sev_es_find_reset_vector(flash_ptr, flash_size, in sev_es_save_reset_vector()
|
/qemu/hw/avr/ |
H A D | atmega.c | 56 size_t flash_size; member 277 "flash", mc->flash_size, &error_fatal); in atmega_realize() 404 amc->flash_size = 16 * KiB; in atmega168_class_init() 419 amc->flash_size = 32 * KiB; in atmega328_class_init() 434 amc->flash_size = 128 * KiB; in atmega1280_class_init() 449 amc->flash_size = 256 * KiB; in atmega2560_class_init()
|
/qemu/include/hw/ssi/ |
H A D | npcm7xx_fiu.h | 63 uint64_t flash_size; member
|
/qemu/include/hw/nvram/ |
H A D | nrf51_nvm.h | 57 uint32_t flash_size; member
|
/qemu/include/hw/arm/ |
H A D | nrf51_soc.h | 48 uint32_t flash_size; member
|
H A D | stm32l4x5_soc.h | 71 size_t flash_size; member
|
/qemu/hw/ssi/ |
H A D | npcm7xx_fiu.c | 510 if (s->flash_size == 0) { in npcm7xx_fiu_realize() 515 if (s->flash_size > NPCM7XX_FIU_MAX_FLASH_WINDOW_SIZE) { in npcm7xx_fiu_realize() 539 s->flash_size); in npcm7xx_fiu_realize() 557 DEFINE_PROP_SIZE("flash-size", NPCM7xxFIUState, flash_size, 0),
|
/qemu/include/hw/i386/ |
H A D | pc.h | 212 void pc_system_parse_ovmf_flash(uint8_t *flash_ptr, size_t flash_size);
|
/qemu/hw/scsi/ |
H A D | mfi.h | 785 uint16_t flash_size; member
|
H A D | megasas.c | 821 info.flash_size = cpu_to_le16(16); in megasas_ctrl_get_info()
|