Cleanup in elf.c with .bss section clean; adm command mounts cdrom instead of floppy...
[ZeXOS.git] / kernel / arch / arm / include / bd / verpb.h
blob692bdec9cfe3270c60b7d3ffaa0faa344e8c185f
1 /*
2 * ZeX/OS
3 * Copyright (C) 2009 Tomas 'ZeXx86' Jedrzejek (zexx86@zexos.org)
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
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.
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef ARM_BD_VERPB
21 #define ARM_BD_VERPB
23 #define ARM_VERPB_PL011_BASE0 0x101f1000
24 #define ARM_VERPB_PL011_BASE1 0x101f2000
25 #define ARM_VERPB_PL011_BASE2 0x101f3000
26 #define ARM_VERPB_PL011_BASE3 0x10009000
27 #define ARM_VERPB_PL011_DR 0x0
28 #define ARM_VERPB_PL011_ECR 0x04
29 #define ARM_VERPB_PL011_FR 0x18
30 #define ARM_VERPB_PL011_RXFE 0x10
31 #define ARM_VERPB_PL011_TXFE 0x80
33 #define ARM_VERPB_PL110_BASE 0xc0000000
34 #define ARM_VERPB_PL110_CR_EN 0x001
35 #define ARM_VERPB_PL110_CR_BGR 0x100
36 #define ARM_VERPB_PL110_CR_BEBO 0x200
37 #define ARM_VERPB_PL110_CR_BEPO 0x400
38 #define ARM_VERPB_PL110_CR_PWR 0x800
40 #define ARM_INTCP_PL050_KB_BASE 0x10006000
41 #define ARM_INTCP_PL050_MO_BASE 0x10007000
42 #define ARM_INTCP_PL050_TXEMPTY (1 << 6)
43 #define ARM_INTCP_PL050_TXBUSY (1 << 5)
44 #define ARM_INTCP_PL050_RXFULL (1 << 4)
45 #define ARM_INTCP_PL050_RXBUSY (1 << 3)
46 #define ARM_INTCP_PL050_RXPARITY (1 << 2)
47 #define ARM_INTCP_PL050_KMIC (1 << 1)
48 #define ARM_INTCP_PL050_KMID (1 << 0)
50 /* externs */
53 #endif