commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Mach branch, master, updated. v1.7-28-gf6a2436


From: Richard Braun
Subject: [SCM] GNU Mach branch, master, updated. v1.7-28-gf6a2436
Date: Sat, 3 Sep 2016 15:02:21 +0000 (UTC)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Mach".

The branch, master has been updated
       via  f6a2436d282a06e5f34789c8c5917e838fa26643 (commit)
      from  094cfe430457e15d34098af6a04e7f9af950d414 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f6a2436d282a06e5f34789c8c5917e838fa26643
Author: Richard Braun <address@hidden>
Date:   Sat Sep 3 15:18:46 2016 +0200

    Fix early physical page allocation
    
    Import upstream biosmem and vm_page changes, and adjust for local
    modifications.
    
    Specifically, the biosmem module was mistakenly loading physical
    segments that did not clip with the heap as completely available.
    This change makes it load them as completely unavailable during
    startup, and once the VM system is ready, additional pages are
    loaded.
    
    * i386/i386at/biosmem.c (DEBUG): New macro.
    (struct biosmem_segment): Remove members `avail_start' and `avail_end'.
    (biosmem_heap_cur): Remove variable.
    (biosmem_heap_bottom, biosmem_heap_top, biosmem_heap_topdown): New 
variables.
    (biosmem_find_boot_data_update, biosmem_find_boot_data): Remove functions.
    (biosmem_find_heap_clip, biosmem_find_heap): New functions.
    (biosmem_setup_allocator): Rewritten to use the new biosmem_find_heap
    function.
    (biosmem_bootalloc): Support both bottom-up and top-down allocations.
    (biosmem_directmap_size): Renamed to ...
    (biosmem_directmap_end): ... this function.
    (biosmem_load_segment): Fix segment loading.
    (biosmem_setup): Restrict usable memory to the directmap segment.
    (biosmem_free_usable_range): Add checks on input parameters.
    (biosmem_free_usable_update_start, biosmem_free_usable_start,
    biosmem_free_usable_reserved, biosmem_free_usable_end): Remove functions.
    (biosmem_free_usable_entry): Rewritten to use the new biosmem_find_heap
    function.
    (biosmem_free_usable): Restrict usable memory to the directmap segment.
    * i386/i386at/biosmem.h (biosmem_bootalloc): Update description.
    (biosmem_directmap_size): Renamed to ...
    (biosmem_directmap_end): ... this function.
    (biosmem_free_usable): Update declaration.
    * i386/i386at/model_dep.c (machine_init): Call biosmem_free_usable.
    * vm/vm_page.c (DEBUG): New macro.
    (struct vm_page_seg): New member `heap_present'.
    (vm_page_load): Remove heap related parameters.
    (vm_page_load_heap): New function.
    * vm/vm_page.h (vm_page_load): Remove heap related parameters. Update
    description.
    (vm_page_load_heap): New function.

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

Summary of changes:
 i386/i386at/biosmem.c   |  368 +++++++++++++++++++++++++++--------------------
 i386/i386at/biosmem.h   |   26 ++--
 i386/i386at/model_dep.c |   10 ++
 vm/vm_page.c            |   45 ++++--
 vm/vm_page.h            |   15 +-
 5 files changed, 280 insertions(+), 184 deletions(-)


hooks/post-receive
-- 
GNU Mach



reply via email to

[Prev in Thread] Current Thread [Next in Thread]