Subject: Converting from physical to virtual?
To: None <amiga-dev@NetBSD.ORG>
From: Eduardo E. Horvath eeh@btr.com <eeh@btr.btr.com>
List: amiga-dev
Date: 05/30/1995 19:40:53
I'm working on adding disconnect/reselect logic to the sbic driver, and I
need to poke a few (5-10) bytes into some random part of physical memory
to clean up partial transfers. What's the preferred method of converting
from a physical address to something the CPU can use to poke at memory
with? I have some ideas, but I prefer not to create and then destroy a
mapping just to store a half-dozen bytes. And I don't want to start
fooling around with the CPU's registers either.
=========================================================================
Eduardo Horvath eeh@btr.com
"Cliffs are for climbing. That's why God invented grappling hooks."
- Benton Frasier