[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug #17346] GNU mach can't handle 4GB memory
From: |
olafBuddenhagen |
Subject: |
Re: [bug #17346] GNU mach can't handle 4GB memory |
Date: |
Mon, 20 Nov 2006 12:16:41 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Hi Barry,
On Mon, Nov 20, 2006 at 12:56:49AM +0000, Barry deFreese wrote:
> if ((memsize >= 0x400000))
> memsize = (0x400000-1);
>
> phys_last_addr = 0x100000 + (memsize * 0x400);
Basically this is right, though the -1 is pretty pointless: 0x400000
translates to 1 GiB + 1 MiB. Staying one KiB below that makes little
sense :-)
If you want to be precise, make it 0x400000-0x400 (exactly 1 GiB); or
alternatively, ignore the fact that it's slightly above 1 GiB, in which
case you can just leave out the -1 (and use > instead of >= ).
-antrik-
- [bug #17346] GNU mach can't handle 4GB memory, Samuel Thibault, 2006/11/15
- [bug #17346] GNU mach can't handle 4GB memory, Samuel Thibault, 2006/11/15
- Message not available
- Re: [bug #17346] GNU mach can't handle 4GB memory, Constantine Kousoulos, 2006/11/20
- Re: [bug #17346] GNU mach can't handle 4GB memory, Samuel Thibault, 2006/11/20
- Re: [bug #17346] GNU mach can't handle 4GB memory, Thomas Bushnell BSG, 2006/11/20
- Re: [bug #17346] GNU mach can't handle 4GB memory, Constantine Kousoulos, 2006/11/21
- Re: [bug #17346] GNU mach can't handle 4GB memory, Richard Braun, 2006/11/21
- Re: [bug #17346] GNU mach can't handle 4GB memory, Constantine Kousoulos, 2006/11/20
- Re: [bug #17346] GNU mach can't handle 4GB memory, Samuel Thibault, 2006/11/20
- Re: [bug #17346] GNU mach can't handle 4GB memory, Constantine Kousoulos, 2006/11/20