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-29-gae90251


From: Richard Braun
Subject: [SCM] GNU Mach branch, master, updated. v1.7-29-gae90251
Date: Mon, 5 Sep 2016 22:03:00 +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  ae902513130a14ffded5d00216e8729d3f5ed7fa (commit)
      from  f6a2436d282a06e5f34789c8c5917e838fa26643 (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 ae902513130a14ffded5d00216e8729d3f5ed7fa
Author: Richard Braun <address@hidden>
Date:   Mon Sep 5 23:47:22 2016 +0200

    Make early physical page allocation truely reliable
    
    Import upstream biosmem changes and adjust for local modifications.
    
    Specifically, this change makes the biosmem module reliably track all
    boot data by storing their addresses in a sorted array. This allows
    both the early page allocator and the biosmem_free_usable function
    to accurately find any range of free pages.
    
    * i386/i386at/biosmem.c: Remove inclusion of <i386at/elf.h>.
    (_start, _end): Remove variable declarations.
    (BIOSMEM_MAX_BOOT_DATA): New macro.
    (struct biosmem_boot_data): New type.
    (biosmem_boot_data_array, biosmem_nr_boot_data): New variables.
    (biosmem_heap_start, biosmem_heap_bottom, biosmem_heap_top,
    biosmem_heap_end): Change type to phys_addr_t.
    (biosmem_panic_inval_boot_data): New variable.
    (biosmem_panic_too_many_boot_data): Likewise.
    (biosmem_panic_toobig_msg): Variable renamed ...
    (biosmem_panic_too_big_msg): ... to this.
    (biosmem_register_boot_data): New function.
    (biosmem_unregister_boot_data): Likewise.
    (biosmem_map_adjust): Update reference to panic message.
    (biosmem_map_find_avail): Add detailed description.
    (biosmem_save_cmdline_sizes): Remove function.
    (biosmem_find_heap_clip): Likewise.
    (biosmem_find_heap): Likewise.
    (biosmem_find_avail_clip, biosmem_find_avail): New functions.
    (biosmem_setup_allocator): Receive const multiboot info, replace
    calls to biosmem_find_heap with calls to biosmem_find_avail and
    update accordingly. Register the heap as boot data.
    (biosmem_xen_bootstrap): Register the Xen boot info and the heap as
    boot data.
    (biosmem_bootstrap): Receive const multiboot information. Remove call
    to biosmem_save_cmdline_sizes.
    (biosmem_bootalloc): Remove assertion on the VM system state.
    (biosmem_type_desc, biosmem_map_show): Build only if DEBUG is true.
    (biosmem_unregister_temporary_boot_data): New function.
    (biosmem_free_usable_range): Change address range format.
    (biosmem_free_usable_entry): Rewrite to use biosmem_find_avail
    without abusing it.
    (biosmem_free_usable): Call biosmem_unregister_temporary_boot_data,
    update call to biosmem_free_usable_entry.
    * i386/i386at/biosmem.h (biosmem_register_boot_data): New function.
    (biosmem_bootalloc): Update description.
    (biosmem_bootstrap): Update description and declaration.
    (biosmem_free_usable): Likewise.
    * i386/i386at/model_dep.c: Include <i386at/elf.h>.
    (machine_init): Update call to biosmem_free_usable.
    (register_boot_data): New function.
    (i386at_init): Call register_boot_data where appropriate.

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

Summary of changes:
 i386/i386at/biosmem.c   |  408 ++++++++++++++++++++++++++---------------------
 i386/i386at/biosmem.h   |   37 +++--
 i386/i386at/model_dep.c |   65 +++++++-
 3 files changed, 316 insertions(+), 194 deletions(-)


hooks/post-receive
-- 
GNU Mach



reply via email to

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