Mail Archives: djgpp/1992/05/22/16:37:44
On May 22, 1:14pm, DJ Delorie wrote:
} Subject: physical addresses in gpp
> >I have a (frame grabber) board at address 0xa00000 which I need to read
> >and write to. This being outwith the first 1 Meg of physical memory
.
.
> Sorry; this is a different (and much harder) problem. You'll have to
> put your own hooks into paging.c to map that range into your address
> space somewhere. Everyone's wish list includes some way of doing this
> through a standard means, but it hasn't happened yet.
>
> DJ
> dj AT ctron DOT com
> Life is a banana.
}-- End of excerpt from DJ Delorie
Just some functions like:
read_physical_block ( virt_mem, phys_mem, size)
write_physical_block( virt_mem, phys_mem, size)
char *virt_mem, *phys_mem;
int size;
would be great to have. I want to access a board outside the 1st Meg range
too. All I need are these 2 functions, or something alike.
For an expert it will probably not be too difficult to write these functions.
Any volunteers out there ? :-) :-)
Rob van Nieuwkerk
robn AT dutecab DOT et DOT tudelft DOT nl
- Raw text -