File: core.h

package info (click to toggle)
linux 4.19.20-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 954,852 kB
  • sloc: ansic: 16,749,828; asm: 271,286; makefile: 38,257; sh: 32,808; perl: 27,671; python: 21,022; cpp: 5,063; yacc: 4,648; lex: 2,585; awk: 1,385; ruby: 25; sed: 5
file content (41 lines) | stat: -rw-r--r-- 1,249 bytes parent folder | download | duplicates (26)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
 *  Copyright (C) 1996-2000 Russell King.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
 * This file contains the core hardware definitions of the EBSA-110.
 */
#ifndef CORE_H
#define CORE_H

/* Physical addresses/sizes */
#define ISAMEM_PHYS		0xe0000000
#define ISAMEM_SIZE		0x10000000

#define ISAIO_PHYS		0xf0000000
#define ISAIO_SIZE		PGDIR_SIZE

#define TRICK0_PHYS		0xf2000000
#define TRICK0_SIZE		PGDIR_SIZE
#define TRICK1_PHYS		0xf2400000
#define TRICK1_SIZE		PGDIR_SIZE
#define TRICK2_PHYS		0xf2800000
#define TRICK3_PHYS		0xf2c00000
#define TRICK3_SIZE		PGDIR_SIZE
#define TRICK4_PHYS		0xf3000000
#define TRICK4_SIZE		PGDIR_SIZE
#define TRICK5_PHYS		0xf3400000
#define TRICK6_PHYS		0xf3800000
#define TRICK7_PHYS		0xf3c00000

/* Virtual addresses */
#define PIT_BASE		IOMEM(0xfc000000)	/* trick 0 */
#define SOFT_BASE		IOMEM(0xfd000000)	/* trick 1 */
#define IRQ_MASK		IOMEM(0xfe000000)	/* trick 3 - read */
#define IRQ_MSET		IOMEM(0xfe000000)	/* trick 3 - write */
#define IRQ_STAT		IOMEM(0xff000000)	/* trick 4 - read */
#define IRQ_MCLR		IOMEM(0xff000000)	/* trick 4 - write */

#endif