[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: kern/efi/mm.c - MAX_USABLE_ADDRESS
From: |
Leif Lindholm |
Subject: |
Re: kern/efi/mm.c - MAX_USABLE_ADDRESS |
Date: |
Tue, 10 Dec 2013 15:59:40 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Dec 09, 2013 at 10:17:20PM +0100, Leif Lindholm wrote:
> On Mon, Dec 09, 2013 at 08:08:39PM +0100, Vladimir 'φ-coder/phcoder'
> Serbinenko wrote:
> > > A simple fix would be to just stack the ifdefs, but a better one might
> > > be to move the define to one of <cpu/efi/memory.h> (which is currently
> > > a dummy for all platforms, simply including <efi/memory.h>) or types.h.
> > >
> > cpu/efi/memory.h is a possibility. cpu/types.h isn't because it's, at
> > least partially, EFI limitation (due to EFI bugs), not CPU.
>
> Ah, ok - that makes sense then.
How about the attached?
Compile tested for arm/arm64/i386/x86_64, runtime tested on arm64.
/
Leif
0001-efi-mm-make-MAX_USABLE_ADDRESS-platform-specific.patch
Description: Text Data