Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sh3/include add SH7709/SH7709A I/O port register de...



details:   https://anonhg.NetBSD.org/src/rev/c9ff4afa29be
branches:  trunk
changeset: 504087:c9ff4afa29be
user:      uch <uch%NetBSD.org@localhost>
date:      Wed Feb 21 14:49:53 2001 +0000

description:
add SH7709/SH7709A I/O port register define

diffstat:

 sys/arch/sh3/include/pfcreg.h |  15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r 77a35068f7bb -r c9ff4afa29be sys/arch/sh3/include/pfcreg.h
--- a/sys/arch/sh3/include/pfcreg.h     Wed Feb 21 13:12:47 2001 +0000
+++ b/sys/arch/sh3/include/pfcreg.h     Wed Feb 21 14:49:53 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pfcreg.h,v 1.2 1999/09/16 12:48:35 msaitoh Exp $ */
+/* $NetBSD: pfcreg.h,v 1.3 2001/02/21 14:49:53 uch Exp $ */
 
 /*-
  * Copyright (C) 1999 SAITOH Masanobu.  All rights reserved.
@@ -52,6 +52,19 @@
 #define SHREG_PKCR     (*(volatile unsigned short *)0xa4000112)
 #define SHREG_PLCR     (*(volatile unsigned short *)0xa4000114)
 #define SHREG_SCPCR    (*(volatile unsigned short *)0xa4000116)
+
+#define SHREG_PADR     (*(volatile unsigned char *)0xa4000120)
+#define SHREG_PBDR     (*(volatile unsigned char *)0xa4000122)
+#define SHREG_PCDR     (*(volatile unsigned char *)0xa4000124)
+#define SHREG_PDDR     (*(volatile unsigned char *)0xa4000126)
+#define SHREG_PEDR     (*(volatile unsigned char *)0xa4000128)
+#define SHREG_PFDR     (*(volatile unsigned char *)0xa400012a)
+#define SHREG_PGDR     (*(volatile unsigned char *)0xa400012c)
+#define SHREG_PHDR     (*(volatile unsigned char *)0xa400012e)
+#define SHREG_PJDR     (*(volatile unsigned char *)0xa4000130)
+#define SHREG_PKDR     (*(volatile unsigned char *)0xa4000132)
+#define SHREG_PLDR     (*(volatile unsigned char *)0xa4000134)
+#define SHREG_SCPDR    (*(volatile unsigned char *)0xa4000136)
 #endif
 
 #else



Home | Main Index | Thread Index | Old Index