bcm2836_control.c (c964b660223308150bb72c627b320c79372c7128) | bcm2836_control.c (03dd024ff57733a55cd2e455f361d053c81b1b29) |
---|---|
1/* 2 * Rasperry Pi 2 emulation ARM control logic module. 3 * Copyright (c) 2015, Microsoft 4 * Written by Andrew Baumann 5 * 6 * Based on bcm2835_ic.c (Raspberry Pi emulation) (c) 2012 Gregory Estrade 7 * This code is licensed under the GNU GPLv2 and later. 8 * 9 * At present, only implements interrupt routing, and mailboxes (i.e., 10 * not local timer, PMU interrupt, or AXI counters). 11 * 12 * Ref: 13 * https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2836/QA7_rev3.4.pdf 14 */ 15 16#include "qemu/osdep.h" 17#include "hw/intc/bcm2836_control.h" | 1/* 2 * Rasperry Pi 2 emulation ARM control logic module. 3 * Copyright (c) 2015, Microsoft 4 * Written by Andrew Baumann 5 * 6 * Based on bcm2835_ic.c (Raspberry Pi emulation) (c) 2012 Gregory Estrade 7 * This code is licensed under the GNU GPLv2 and later. 8 * 9 * At present, only implements interrupt routing, and mailboxes (i.e., 10 * not local timer, PMU interrupt, or AXI counters). 11 * 12 * Ref: 13 * https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2836/QA7_rev3.4.pdf 14 */ 15 16#include "qemu/osdep.h" 17#include "hw/intc/bcm2836_control.h" |
18#include "qemu/log.h" |
|
18 19#define REG_GPU_ROUTE 0x0c 20#define REG_TIMERCONTROL 0x40 21#define REG_MBOXCONTROL 0x50 22#define REG_IRQSRC 0x60 23#define REG_FIQSRC 0x70 24#define REG_MBOX0_WR 0x80 25#define REG_MBOX0_RDCLR 0xc0 --- 279 unchanged lines hidden --- | 19 20#define REG_GPU_ROUTE 0x0c 21#define REG_TIMERCONTROL 0x40 22#define REG_MBOXCONTROL 0x50 23#define REG_IRQSRC 0x60 24#define REG_FIQSRC 0x70 25#define REG_MBOX0_WR 0x80 26#define REG_MBOX0_RDCLR 0xc0 --- 279 unchanged lines hidden --- |