Method and apparatus for allowing a direct memory access unit to have
access to a virtual address space is accomplished by receiving a request
for memory access from the direct memory access device; determining a
device identifier according to the received request for memory access;
determining a memory protection schema according to the determined device
identifier; and granting the direct memory access unit access to memory
in accordance with the determined memory protection schema.