vc4: fix traps, add ic source detection and dispatch, add proper handler for mbox...
[rpi-open-firmware.git] / arm_chainloader / drivers / mailbox.hpp
1 /*=============================================================================
2 Copyright (C) 2016 Kristina Brooks
3 All rights reserved.
4
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License
7 as published by the Free Software Foundation; either version 2
8 of the License, or (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 FILE DESCRIPTION
16 Mailbox driver.
17
18 =============================================================================*/
19
20 #pragma once
21
22 #include <chainloader.h>
23
24 struct Bcm2708Mailbox {
25 Bcm2708Mailbox();
26 bool write_word(uint32_t data, int timeout = 10000);
27 };
28
29 extern Bcm2708Mailbox g_Mailbox;
This page took 0.062625 seconds and 4 git commands to generate.