[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fork() ...



The problem arises with e.g. Rwabs. YOu have to pass it an address and it may
or may not use DMA (thru the disk routines) toaccess that address. At present
there is no way of knowing. If it uses DMA Rwabs wants the physical addess but
if it copies then it wants the virtual address. A kludge would be to arrange a
block of memory as a buffer which has the same physical and virtual address.
	Alternatively the area could temporaily be mapped to its own physical
address and this address passed (or address translation turned off). Then it
wouldn't matter which addres was used it would end up in the same spot. Only
the disk routines immeditaly spring to mind as causing problems.
Steve.