From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,2f779b1be7da307a X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-05-03 10:24:12 PST Path: gmd.de!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!utah-morgan!hellgate.utah.edu!cc.usu.edu!ivie From: ivie@cc.usu.edu Newsgroups: comp.sys.dec Subject: Re: Hand Loading Routines on Alphas Message-ID: <1993May3.094932.67103@cc.usu.edu> Date: 3 May 93 09:49:32 MDT References: <1rulvqINNh5f@topaz.bds.com><1993May3.111643.27933@tigger.jvnc.net> Distribution: usa Organization: Utah State University In article , moss@cs.cmu.edu (Eliot Moss) writes: > - one must (in general) flush the data cache to memory and clear the > instruction cache to force the new instructions to be read from memory; this > is a general characteristic of most machines with separate I and D caches Which _should_ be handled by the console's Start command. > - the region must be appropriately mapped: there must be an appropriate entry > loaded in the instruction translation lookaside buffer (ITLB) and/or the > ITLB miss handler must be willing to load one up for you if/when you fault > on it Probably not a problem since console code is probably running in PALmode, which is unmapped. A more likely problem is that the console might be expecting the Start location to contain an Alpha procedure descriptor (seed of addressability + entry point), and so is wandering off to some random location. You might want to poke through the Alpha Calling Standards document on the CD ROM. > - the system may avoid mapping certain parts of low memory as a technique for > faulting on most attempts to fetch through nil pointers Since he says he can examine and deposit, the memory should be mapped. Let me know if you figure this out, Roger "just curious" Ivie