bcm2835_mbox.c (84a5a8014801a83d1b8d15fa7f0fde03db081530) bcm2835_mbox.c (03dd024ff57733a55cd2e455f361d053c81b1b29)
1/*
2 * Raspberry Pi emulation (c) 2012 Gregory Estrade
3 * This code is licensed under the GNU GPLv2 and later.
4 *
5 * This file models the system mailboxes, which are used for
6 * communication with low-bandwidth GPU peripherals. Refs:
7 * https://github.com/raspberrypi/firmware/wiki/Mailboxes
8 * https://github.com/raspberrypi/firmware/wiki/Accessing-mailboxes
9 */
10
11#include "qemu/osdep.h"
12#include "qapi/error.h"
13#include "hw/misc/bcm2835_mbox.h"
1/*
2 * Raspberry Pi emulation (c) 2012 Gregory Estrade
3 * This code is licensed under the GNU GPLv2 and later.
4 *
5 * This file models the system mailboxes, which are used for
6 * communication with low-bandwidth GPU peripherals. Refs:
7 * https://github.com/raspberrypi/firmware/wiki/Mailboxes
8 * https://github.com/raspberrypi/firmware/wiki/Accessing-mailboxes
9 */
10
11#include "qemu/osdep.h"
12#include "qapi/error.h"
13#include "hw/misc/bcm2835_mbox.h"
14#include "qemu/log.h"
14
15#define MAIL0_PEEK 0x90
16#define MAIL0_SENDER 0x94
17#define MAIL1_STATUS 0xb8
18
19/* Mailbox status register */
20#define MAIL0_STATUS 0x98
21#define ARM_MS_FULL 0x80000000

--- 314 unchanged lines hidden ---
15
16#define MAIL0_PEEK 0x90
17#define MAIL0_SENDER 0x94
18#define MAIL1_STATUS 0xb8
19
20/* Mailbox status register */
21#define MAIL0_STATUS 0x98
22#define ARM_MS_FULL 0x80000000

--- 314 unchanged lines hidden ---