Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sgimips/gio moar registers
details: https://anonhg.NetBSD.org/src/rev/a1f05549b08e
branches: trunk
changeset: 451012:a1f05549b08e
user: macallan <macallan%NetBSD.org@localhost>
date: Sat May 04 00:45:18 2019 +0000
description:
moar registers
to the right branch this time (hopefully)
diffstat:
sys/arch/sgimips/gio/newportreg.h | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
diffs (46 lines):
diff -r da2f9f9093b5 -r a1f05549b08e sys/arch/sgimips/gio/newportreg.h
--- a/sys/arch/sgimips/gio/newportreg.h Fri May 03 22:34:21 2019 +0000
+++ b/sys/arch/sgimips/gio/newportreg.h Sat May 04 00:45:18 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: newportreg.h,v 1.6 2012/01/11 21:23:07 macallan Exp $ */
+/* $NetBSD: newportreg.h,v 1.7 2019/05/04 00:45:18 macallan Exp $ */
/*
* Copyright (c) 2003 Ilpo Ruotsalainen
@@ -143,6 +143,7 @@
#define REX3_REG_ZPATTERN 0x0014
#define REX3_REG_COLORBACK 0x0018
+#define REX3_REG_COLORVRAM 0x001c
#define REX3_REG_XSTART 0x0100
@@ -191,6 +192,17 @@
#define REX3_REG_TOPSCAN 0x1320
#define REX3_REG_XYWIN 0x1324
+#define REX3_REG_CLIPMODE 0x1328
+#define REX3_CLIPMODE_SMASK0 0x0001
+#define REX3_CLIPMODE_SMASK1 0x0002
+#define REX3_CLIPMODE_SMASK2 0x0004
+#define REX3_CLIPMODE_SMASK3 0x0008
+#define REX3_CLIPMODE_SMASK4 0x0010
+#define REX3_CLIPMODE_CIDMATCH0 0x0100
+#define REX3_CLIPMODE_CIDMATCH1 0x0200
+#define REX3_CLIPMODE_CIDMATCH2 0x0400
+#define REX3_CLIPMODE_CIDMATCH3 0x0800
+
#define REX3_REG_STATUS 0x1338
#define REX3_STATUS_GFXBUSY 0x00000008
@@ -261,6 +273,10 @@
#define XMAP9_DCBCRS_PUP_CMAP 4
#define XMAP9_DCBCRS_MODE_SETUP 5
#define XMAP9_MODE_GAMMA_BYPASS 0x000004
+#define XMAP9_MODE_PIXMODE_CI 0x000000
+#define XMAP9_MODE_PIXMODE_RGB0 0x000100
+#define XMAP9_MODE_PIXMODE_RGB1 0x000200
+#define XMAP9_MODE_PIXMODE_RGB2 0x000300
#define XMAP9_MODE_PIXSIZE_8BPP 0x000400
#define XMAP9_MODE_PIXSIZE_24BPP 0x000c00
#define XMAP9_DCBCRS_MODE_SELECT 7
Home |
Main Index |
Thread Index |
Old Index