Search
lxdream.org :: lxdream/src/asic.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/asic.h
changeset 244:4c2b7291d3b0
prev189:615b70cfd729
next265:5daf59b7f31b
author nkeynes
date Tue Dec 19 09:51:35 2006 +0000 (17 years ago)
permissions -rw-r--r--
last change First cut of port 576890 (sysreset) and ide enable/disable
file annotate diff log raw
1.1 --- a/src/asic.h Wed Aug 02 04:06:45 2006 +0000
1.2 +++ b/src/asic.h Tue Dec 19 09:51:35 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: asic.h,v 1.13 2006-08-02 04:06:42 nkeynes Exp $
1.6 + * $Id: asic.h,v 1.14 2006-12-19 09:51:35 nkeynes Exp $
1.7 *
1.8 * Support for the miscellaneous ASIC functions (Primarily event multiplexing,
1.9 * and DMA). Includes MMIO definitions for the 5f6000 and 5f7000 regions,
1.10 @@ -41,6 +41,7 @@
1.11 LONG_PORT( 0x884, PVRDMARGN, PORT_MRW, 0, "PVR DMA Dest region" )
1.12 LONG_PORT( 0x888, ASICUNKA, PORT_MRW, 0, "ASIC <unknownA>" )
1.13 LONG_PORT( 0x88C, G2STATUS, PORT_MR|PORT_NOTRACE, 0, "G2 Bus status" )
1.14 + LONG_PORT( 0x890, SYSRESET, PORT_W, 0, "System reset port" )
1.15 LONG_PORT( 0x89C, ASICUNKB, PORT_MRW, 0xB, "Unknown, always 0xB?" )
1.16 LONG_PORT( 0x8A0, ASICUNKC, PORT_MRW, 0, "ASIC <unknownC>" )
1.17 LONG_PORT( 0x8A4, ASICUNKD, PORT_MRW, 0, "ASIC <unknownD>" )
1.18 @@ -198,6 +199,8 @@
1.19 #define EVENT_PVR_MATRIX_ALLOC_FAIL 67
1.20 #define EVENT_PVR_BAD_INPUT 68
1.21
1.22 +#define IS_IDE_REGISTER(x) ( (x) <= IDEDMACTL2 )
1.23 +
1.24 /**
1.25 * Raise an ASIC event
1.26 */
.