Source-Changes archive

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

NetBSD master CVS tree commits



is
Mon Jul 29 16:53:44 EDT 1996
Update of /a/cvsroot/src/sys/arch/amiga/amiga
In directory pain.lcs.mit.edu:/a/tmp/cvs-serv3130

Modified Files:
        amiga_init.c pmap.c 
Log Message:
Deal with two bugs in the bounce buffer memory reserve code:

If z2 memory is used for bounce buffers, it used to be stolen in 
amiga_init.c, but would not be removed from the memory list there, but 
in pmap.c the memory list would just be corrected.

a) the sizes subtracted got out of sync.
b) the memory segment to subtract from was guessed in pmap_init, and not
necessarily right. (e.g. consider a graphics board whose fraem buffer gets
mapped in by the RO at 0x200000, and a memory board which maps at 0x400000)

The new code subtracts the stolen aount of memory from the memlist parameter
given to the kernel by the loader, and pmap_init just doesn't see it anymore. 





Home | Main Index | Thread Index | Old Index