Subject: Re: upgrade to 1.0 [non-contiguous memory diffs]
To: Michael L. Hitch <osymh@gemini.oscs.montana.edu>
From: Michael L. Hitch <osymh@gemini.oscs.montana.edu>
List: amiga-dev
Date: 08/14/1994 12:59:50
On Aug 10,  9:32pm, Michael L. Hitch wrote:
> On Aug  8,  7:16pm, Tim Newsham wrote:
> > 
> > (btw.. can I get diffs for non-contig memory handling with the new
> > kernels from someone who has already got it up and running?)
> > 
> 
>   Here's a set of diffs for the non-contiguous memory support I'm
> working with.  It's based on Tim's original changes, but I've done

  And I have a small goof in my changes:

> --- 1669,1671 ----
> diff -cr /mnt/src/sys/arch/amiga/amiga/pmap.c /sys/arch/amiga/amiga/pmap.c
> *** /mnt/src/sys/arch/amiga/amiga/pmap.c	Tue Jun 21 10:20:50 1994
> --- /sys/arch/amiga/amiga/pmap.c	Mon Aug  1 22:10:00 1994
> ***************
> *** 496,506 ****
> --- 560,631 ----
...
> + #else
> + #define pmap_page_index(pa) ((pa) >= avail_start && (pa) < avail_end)
> + #endif	/* MACHINE_NONCONTIG */

  This should have been:
#define pmap_page_index(pa) (pa_index(pa))

  This only affects kernel without the MACHINE_NONCONTIG option.  It
also seems to crash smaller memory configurations - I hadn't seen any
problems using it while running with 20M, but as soon as I restricted
the memory to 3.5M, it crashed when starting up mult-user.

Michael

-- 
Michael L. Hitch			INTERNET:  osymh@montana.edu
Computer Consultant
Office of Systems and Computing Services
Montana State University	Bozeman, MT	USA

------------------------------------------------------------------------------