OSDN Git Service

hw/misc: avr: Add limited support for power reduction device
authorMichael Rolnik <mrolnik@gmail.com>
Fri, 24 Jan 2020 00:51:19 +0000 (01:51 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 11 Jul 2020 09:02:05 +0000 (11:02 +0200)
commitdc288de082a3e4e6970737fde2286bfc1d5ab9d7
tree86bd1f18eab74c40db48c438faace04f78702d65
parent8ff47bc1a0c798141479530bf9cb3836b49fc5e1
hw/misc: avr: Add limited support for power reduction device

This is a simple device of just one register, and whenever this
register is written to it calls qemu_set_irq function for each
of 8 bits/IRQs. It is used to implement AVR Power Reduction.

[AM: Remove word 'Atmel' from filenames and all elements of code]
Suggested-by: Aleksandar Markovic <aleksandar.m.mail@gmail.com>
Signed-off-by: Michael Rolnik <mrolnik@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
[rth: Squash include fix and file rename from f4bug]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Aleksandar Markovic <aleksandar.m.mail@gmail.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Thomas Huth <huth@tuxfamily.org>
Message-Id: <20200705140315.260514-22-huth@tuxfamily.org>
MAINTAINERS
hw/misc/Kconfig
hw/misc/Makefile.objs
hw/misc/avr_power.c [new file with mode: 0644]
hw/misc/trace-events
include/hw/misc/avr_power.h [new file with mode: 0644]