|
XenevaOS
|
#include "..\xnldr.h"

Go to the source code of this file.
Macros | |
| #define | VIDEOCORE_MBOX (MMIO_BASE + 0x0000B880) |
| #define | MBOX_READ ((volatile unsigned int*)(VIDEOCORE_MBOX+0x0)) |
| #define | MBOX_POLL ((volatile unsigned int*)(VIDEOCORE_MBOX+0x10)) |
| #define | MBOX_SENDER ((volatile unsigned int*)(VIDEOCORE_MBOX+0x14)) |
| #define | MBOX_STATUS ((volatile unsigned int*)(VIDEOCORE_MBOX+0x18)) |
| #define | MBOX_CONFIG ((volatile unsigned int*)(VIDEOCORE_MBOX+0x1C)) |
| #define | MBOX_WRITE ((volatile unsigned int*)(VIDEOCORE_MBOX+0x20)) |
| #define | MBOX_RESPONSE 0x80000000 |
| #define | MBOX_FULL 0x80000000 |
| #define | MBOX_EMPTY 0x40000000 |
| #define | MBOX_REQUEST 0 |
| #define | MBOX_CH_POWER 0 |
| #define | MBOX_CH_FB 1 |
| #define | MBOX_CH_VUART 2 |
| #define | MBOX_CH_VCHIQ 3 |
| #define | MBOX_CH_LEDS 4 |
| #define | MBOX_CH_BTNS 5 |
| #define | MBOX_CH_TOUCH 6 |
| #define | MBOX_CH_COUNT 7 |
| #define | MBOX_CH_PROP 8 |
| #define | MBOX_TAG_GETSERIAL 0x1004 |
| #define | MBOX_TAG_SETCLKRATE 0x38002 |
| #define | MBOX_TAG_LAST 0 |
Functions | |
| void | RPI3BUartInit () |
| #define MBOX_CH_BTNS 5 |
| #define MBOX_CH_COUNT 7 |
| #define MBOX_CH_FB 1 |
| #define MBOX_CH_LEDS 4 |
| #define MBOX_CH_POWER 0 |
| #define MBOX_CH_PROP 8 |
| #define MBOX_CH_TOUCH 6 |
| #define MBOX_CH_VCHIQ 3 |
| #define MBOX_CH_VUART 2 |
| #define MBOX_CONFIG ((volatile unsigned int*)(VIDEOCORE_MBOX+0x1C)) |
| #define MBOX_EMPTY 0x40000000 |
| #define MBOX_FULL 0x80000000 |
| #define MBOX_POLL ((volatile unsigned int*)(VIDEOCORE_MBOX+0x10)) |
| #define MBOX_READ ((volatile unsigned int*)(VIDEOCORE_MBOX+0x0)) |
| #define MBOX_REQUEST 0 |
| #define MBOX_RESPONSE 0x80000000 |
| #define MBOX_SENDER ((volatile unsigned int*)(VIDEOCORE_MBOX+0x14)) |
| #define MBOX_STATUS ((volatile unsigned int*)(VIDEOCORE_MBOX+0x18)) |
| #define MBOX_TAG_GETSERIAL 0x1004 |
| #define MBOX_TAG_LAST 0 |
| #define MBOX_TAG_SETCLKRATE 0x38002 |
| #define MBOX_WRITE ((volatile unsigned int*)(VIDEOCORE_MBOX+0x20)) |
| #define VIDEOCORE_MBOX (MMIO_BASE + 0x0000B880) |
BSD 2-Clause License
Copyright (c) 2023-2025, Manas Kamal Choudhury All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
| void RPI3BUartInit | ( | ) |