- Added support for MVME2604 board.
- New build script for: bld2 for new vxWorks version Tornado 2.0.2 - monitor memory inspection tool
This commit is contained in:
@@ -1219,7 +1219,23 @@
|
||||
|
||||
SinqHM_Dsbl_Mask = 0; /* Start up with DAQ enabled */
|
||||
|
||||
Lwl_fifo = (uint *) 0x80810080; /* Set up address of Fibre Optic */
|
||||
/*
|
||||
set up address of fibre optic. This is very board specific!
|
||||
The last 3 bytes of this address are set in the programmable logic
|
||||
of the mezzanine card. The first byte is the offset of the PCI memory
|
||||
space in the processor memory map. Together the address must result
|
||||
in a valid address lying in the region reserved for PCI I/O. The
|
||||
program on the mezzanine card may need updating in order to ensure just
|
||||
that.
|
||||
|
||||
Mark Koennecke, February 2002
|
||||
*/
|
||||
#ifdef MV2600
|
||||
Lwl_fifo = (uint *) 0x80008080;
|
||||
#else
|
||||
Lwl_fifo = (uint *) 0x80810080; /* for MVME1603 boards */
|
||||
#endif
|
||||
|
||||
Lwl_csr = &Lwl_dummy_csr; /* Set up address of dummy CSR */
|
||||
/*============================================================================
|
||||
** Define our signal mask first and define an action routine to catch
|
||||
@@ -1241,6 +1257,9 @@
|
||||
** flush out any data in the fibre-optic FIFO.
|
||||
*/
|
||||
*Lwl_csr = 0x0001; /* This will (maybe) initialise the fibre-optic FIFO. */
|
||||
printf("vxWorks thinks it still has %d bytes of memory\n",memFindMax());
|
||||
|
||||
printf("Flushing lwl.....\n");
|
||||
lwl_Fifo_Flush (); /* Flush the fibre-optic FIFO. */
|
||||
|
||||
/*============================================================================
|
||||
|
||||
Reference in New Issue
Block a user