1. 06 4月, 2022 1 次提交
  2. 28 1月, 2022 1 次提交
    • P
      rtc: Move RTC function prototypes to their own header · 2f93d8b0
      Peter Maydell 提交于
      softmmu/rtc.c defines two public functions: qemu_get_timedate() and
      qemu_timedate_diff().  Currently we keep the prototypes for these in
      qemu-common.h, but most files don't need them.  Move them to their
      own header, a new include/sysemu/rtc.h.
      
      Since the C files using these two functions did not need to include
      qemu-common.h for any other reason, we can remove those include lines
      when we add the include of the new rtc.h.
      
      The license for the .h file follows that of the softmmu/rtc.c
      where both the functions are defined.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
      2f93d8b0
  3. 19 9月, 2020 1 次提交
  4. 09 9月, 2020 2 次提交
  5. 25 10月, 2019 1 次提交
  6. 12 6月, 2019 2 次提交
    • M
      Include qemu-common.h exactly where needed · a8d25326
      Markus Armbruster 提交于
      No header includes qemu-common.h after this commit, as prescribed by
      qemu-common.h's file comment.
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Message-Id: <20190523143508.25387-5-armbru@redhat.com>
      [Rebased with conflicts resolved automatically, except for
      include/hw/arm/xlnx-zynqmp.h hw/arm/nrf51_soc.c hw/arm/msf2-soc.c
      block/qcow2-refcount.c block/qcow2-cluster.c block/qcow2-cache.c
      target/arm/cpu.h target/lm32/cpu.h target/m68k/cpu.h target/mips/cpu.h
      target/moxie/cpu.h target/nios2/cpu.h target/openrisc/cpu.h
      target/riscv/cpu.h target/tilegx/cpu.h target/tricore/cpu.h
      target/unicore32/cpu.h target/xtensa/cpu.h; bsd-user/main.c and
      net/tap-bsd.c fixed up]
      a8d25326
    • M
      Include qemu/module.h where needed, drop it from qemu-common.h · 0b8fa32f
      Markus Armbruster 提交于
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Message-Id: <20190523143508.25387-4-armbru@redhat.com>
      [Rebased with conflicts resolved automatically, except for
      hw/usb/dev-hub.c hw/misc/exynos4210_rng.c hw/misc/bcm2835_rng.c
      hw/misc/aspeed_scu.c hw/display/virtio-vga.c hw/arm/stm32f205_soc.c;
      ui/cocoa.m fixed up]
      0b8fa32f
  7. 28 2月, 2019 1 次提交
  8. 03 7月, 2018 1 次提交