summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64/vaddrs.h
blob: cd82abb060f92e5a90e617107206ddb9134f9e03 (plain)
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
/* $Id: vaddrs.h,v 1.6 1997/04/04 00:50:31 davem Exp $ */
#ifndef _SPARC64_VADDRS_H
#define _SPARC64_VADDRS_H

/* asm-sparc64/vaddrs.h:  Here will be define the virtual addresses at
 *                      which important I/O addresses will be mapped.
 *                      For instance the timer register virtual address
 *                      is defined here.
 *
 * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
 */

/* I can see only one reason why we should have statically defined
 * mappings for devices and is the speedup improvements of not loading
 * a pointer and then the value in the assembly code
 */
#define  IOBASE_VADDR   0xfffffd0000000000ULL  /* Base for mapping pages */
#define  IOBASE_LEN     0x0000008000000000ULL  /* Length of the IO area */
#define  IOBASE_END     0xfffffd8000000000ULL
#define  DVMA_VADDR     0xfffffd8000000000ULL  /* Base area of the DVMA on suns */
#define  DVMA_LEN       0x0000004000000000ULL  /* Size of the DVMA address space */
#define  DVMA_END       0xfffffdc000000000ULL

#endif /* !(_SPARC_VADDRS_H) */