| From | Sent On | Attachments |
|---|---|---|
| Arun Sharma | Feb 7, 2003 5:11 pm | |
| Arun Sharma | Feb 13, 2003 4:17 pm | |
| Marcel Moolenaar | Feb 13, 2003 4:23 pm | |
| Arun Sharma | Feb 13, 2003 4:46 pm | |
| Marcel Moolenaar | Feb 13, 2003 5:02 pm | |
| Arun Sharma | Feb 14, 2003 5:35 pm | |
| Marcel Moolenaar | Feb 14, 2003 6:16 pm | |
| Arun Sharma | Feb 15, 2003 11:00 am | |
| Marcel Moolenaar | Feb 15, 2003 12:58 pm |
| Subject: | Re: Maxmem should be bytes ? | |
|---|---|---|
| From: | Marcel Moolenaar (mar...@xcllnt.net) | |
| Date: | Feb 14, 2003 6:16:20 pm | |
| List: | org.freebsd.freebsd-ia64 | |
On Fri, Feb 14, 2003 at 05:36:01PM -0800, Arun Sharma wrote:
As for the fact that Maxmem is in bytes and physmem isn't: we define Maxmem to be equal to physmem (machdep.c:598). So they are in fact equal.
All I'm saying is:
--- machdep.c.old Fri Feb 14 17:32:26 2003 +++ machdep.c Fri Feb 14 17:33:22 2003 @@ -595,7 +595,7 @@ } phys_avail[phys_avail_cnt] = 0;
- Maxmem = physmem; + Maxmem = ia64_ptob(physmem); init_param2(physmem);
/*
i386 does something equivalent.
Your patch changes the granularity for Maxmem from pages to bytes. On all architectures it should be pages. On i386 you see atop(), which is the opposite of ia64_ptob().
-- Marcel Moolenaar USPA: A-39004 mar...@xcllnt.net
To Unsubscribe: send mail to majo...@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message





