bcm2835_thermal.c (d328fef93ae757a0dd65ed786a4086e27952eef3) | bcm2835_thermal.c (7b11e7cf73fd637671c88c71c28204d157533193) |
---|---|
1/* 2 * BCM2835 dummy thermal sensor 3 * 4 * Copyright (C) 2019 Philippe Mathieu-Daudé <f4bug@amsat.org> 5 * 6 * SPDX-License-Identifier: GPL-2.0-or-later 7 */ 8 --- 66 unchanged lines hidden (view full) --- 75 /* MemoryRegionOps are aligned, so this can not happen. */ 76 g_assert_not_reached(); 77 } 78} 79 80static const MemoryRegionOps bcm2835_thermal_ops = { 81 .read = bcm2835_thermal_read, 82 .write = bcm2835_thermal_write, | 1/* 2 * BCM2835 dummy thermal sensor 3 * 4 * Copyright (C) 2019 Philippe Mathieu-Daudé <f4bug@amsat.org> 5 * 6 * SPDX-License-Identifier: GPL-2.0-or-later 7 */ 8 --- 66 unchanged lines hidden (view full) --- 75 /* MemoryRegionOps are aligned, so this can not happen. */ 76 g_assert_not_reached(); 77 } 78} 79 80static const MemoryRegionOps bcm2835_thermal_ops = { 81 .read = bcm2835_thermal_read, 82 .write = bcm2835_thermal_write, |
83 .impl.min_access_size = 4, |
|
83 .impl.max_access_size = 4, 84 .valid.min_access_size = 4, | 84 .impl.max_access_size = 4, 85 .valid.min_access_size = 4, |
86 .valid.max_access_size = 4, |
|
85 .endianness = DEVICE_NATIVE_ENDIAN, 86}; 87 88static void bcm2835_thermal_reset(DeviceState *dev) 89{ 90 Bcm2835ThermalState *s = BCM2835_THERMAL(dev); 91 92 s->ctl = 0; --- 43 unchanged lines hidden --- | 87 .endianness = DEVICE_NATIVE_ENDIAN, 88}; 89 90static void bcm2835_thermal_reset(DeviceState *dev) 91{ 92 Bcm2835ThermalState *s = BCM2835_THERMAL(dev); 93 94 s->ctl = 0; --- 43 unchanged lines hidden --- |