[OpenBIOS] [PATCH 0/7] Assorted OpenBIOS memory fixes
Blue Swirl
blauwirbel at gmail.com
Sun Apr 14 17:51:16 CEST 2013
On Fri, Apr 12, 2013 at 12:57 PM, Mark Cave-Ayland
<mark.cave-ayland at ilande.co.uk> wrote:
> This patchset fixes various issues found working with the removal of the zero
> page mapping for SPARC32/PPC in order to catch NULL pointer dereferences.
>
> With all patches applied, I see no regressions in any of my SPARC32 or PPC test
> images.
I don't see any problems in my tests either.
>
> Mark Cave-Ayland (7):
> SPARC32: Add debugging output for calls to the romvec obp_memalloc()
> and obp_dumb_memalloc() functions.
> OFMEM: Fix selection of reusable memory areas from the internal
> malloc() freelist.
> Remove /chosen "memory" property from the default device tree.
> OFMEM: Fix bad alignments passed into the OFMEM claim words
> SPARC32: Remove manual fix for bad alignments passed into the romvec
> malloc() functions
> SPARC32: Remove zero page mapping from MMU to enable detection of
> NULL pointer dereferences
> PPC: Remove zero page mapping from MMU to enable detection of NULL
> pointer dereferences
>
> openbios-devel/arch/ppc/qemu/ofmem.c | 11 ++++++---
> openbios-devel/arch/sparc32/init.fs | 2 +-
> openbios-devel/arch/sparc32/lib.c | 34 ++++++++++-----------------
> openbios-devel/arch/sparc32/ofmem_sparc32.c | 3 +++
> openbios-devel/forth/device/tree.fs | 1 -
> openbios-devel/libopenbios/ofmem_common.c | 22 +++++++++++++----
> 6 files changed, 42 insertions(+), 31 deletions(-)
>
> --
> 1.7.10.4
>
>
> --
> OpenBIOS http://openbios.org/
> Mailinglist: http://lists.openbios.org/mailman/listinfo
> Free your System - May the Forth be with you
More information about the OpenBIOS
mailing list