Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: ivie@cc.usu.edu
Subject: Re: Hand Loading Routines on Alphas
Date: 3 May 93 09:49:32 MDT	[thread overview]
Message-ID: <1993May3.094932.67103@cc.usu.edu> (raw)
In-Reply-To: MOSS.93May3092155@CRAFTY.cs.cmu.edu

In article <MOSS.93May3092155@CRAFTY.cs.cmu.edu>, 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


      reply	other threads:[~1993-05-03 15:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-05-01 20:19 Alpha Pixie Ron Natalie
1993-05-03 11:16 ` Hand Loading Routines on Alphas Dataram Corp. PO Box 7528
1993-05-03 14:21   ` Eliot Moss
1993-05-03 15:49     ` ivie [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox