patch-2.1.30 linux/include/asm-sparc64/vaddrs.h

Next file: linux/include/linux/blk.h
Previous file: linux/include/asm-sparc64/unistd.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.29/linux/include/asm-sparc64/vaddrs.h linux/include/asm-sparc64/vaddrs.h
@@ -0,0 +1,27 @@
+/* $Id: vaddrs.h,v 1.1 1997/03/18 18:03:43 jj Exp $ */
+#ifndef _SPARC64_VADDRS_H
+#define _SPARC64_VADDRS_H
+
+#include <asm/head.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) */
+

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov