/* --------------------------------------------------------------------------- * Functions mapping to processor memory instead of VME * * Author : J.B.Lane UCL March 1998 mem.c * --------------------------------------------------------------------------- */ #include "ask.h" /* prototypes */ unsigned short* vme_get_window (const int dummy0, const int dummy1, const int dummy2) { static unsigned short array[0x8000] ; /* 16K bytes */ unsigned short *memory_ptr ; memory_ptr = array ; printf ("mapped address = %p\n", (void*)memory_ptr) ; return memory_ptr ; } void vme_end (void) { printf ("mem done.\n") ; }